Skip to content

Commit 2481a98

Browse files
committed
adjust test script
1 parent bc33d36 commit 2481a98

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test-oauth.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- run: |
5252
pnpx puppeteer browsers install chrome
5353
- run: pnpm install
54-
- run: pnpm test
54+
- run: pnpm test:google
5555
test-zitadel-oauth:
5656
runs-on: ubuntu-latest
5757
env:
@@ -98,4 +98,4 @@ jobs:
9898
- run: |
9999
pnpx puppeteer browsers install chrome
100100
- run: pnpm install
101-
- run: pnpm test
101+
- run: pnpm test:zitadel

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
"dev:start": "cross-env NODE_OPTIONS=--no-deprecation next start dev",
2626
"build": "tsc",
2727
"test": "cd test && jest --config=./jest.config.js --runInBand",
28+
"test:google": "cd test && jest --config=./jest.config.js test/google.spec.ts",
29+
"test:zitadel": "cd test && jest --config=./jest.config.js test/zitadel.spec.ts",
2830
"format": "prettier --write src dev",
2931
"payload": "cd dev && cross-env NODE_OPTIONS=--no-deprecation payload",
3032
"dev:lint": "cd dev && cross-env NODE_OPTIONS=--no-deprecation next lint",

0 commit comments

Comments
 (0)