Skip to content

Commit b3ded10

Browse files
committed
ci: added user api tests to workflow
ci: added user api tests to workflow ci: added user api tests to workflow dded user api tests to workflowwith '#' will be ignored, and an empty message aborts the commit. ci: added user api tests to workflow
1 parent 8c832f7 commit b3ded10

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/api-pr.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ jobs:
2727
- name: Lint code with ESLint
2828
run: yarn workspace user lint
2929

30-
- name: Run tests
31-
run: yarn workspace user test
30+
- name: Run unit tests
31+
run: yarn workspace user test:unit
32+
33+
- name: Run integration tests
34+
run: yarn workspace user int-test

.github/workflows/github-ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
name: Run cypress unit tests
3131
needs: install
3232
runs-on: ubuntu-latest
33-
3433
steps:
3534
- name: Checkout
3635
uses: actions/checkout@v4

apps/user/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "user",
33
"version": "0.0.1",
4-
"description": "greenstand-wallet-app-api",
4+
"description": "user",
55
"author": "",
66
"private": true,
77
"license": "UNLICENSED",

apps/user/src/user/user.controller.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class UserController {
1111
return this.userService.createUser(registerUserDto);
1212
}
1313

14-
@Get("test")
14+
@Get("healthz")
1515
check(@Body() registerUserDto: RegisterUserDto) {
1616
return "tree growing!!";
1717
}

0 commit comments

Comments
 (0)