Skip to content

Commit

Permalink
debug: ci 10
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Apr 18, 2024
1 parent b554874 commit 9b2b565
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
- run: pnpm install
- run: cd packages/test && pnpm exec playwright install
- run: cd packages/test/server && go get
- run: lsof -i tcp:8091
- run: lsof -i tcp:8092
- run: curl -v http://localhost:8091
- run: curl -v http://localhost:8092/api/get-return-headers
- run: pnpm run test
env:
NODE_OPTIONS: --dns-result-order=ipv4first
Expand Down
2 changes: 1 addition & 1 deletion packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"dev": "vite --host",
"check-type": "tsc -p tsconfig.json",
"test": "./tests/before-test.sh && echo $NODE_OPTIONS && lsof -i tcp:8091 && lsof -i tcp:8092 && curl -v http://localhost:8091 && curl -v http://localhost:8092/api/get-return-headers && vitest --run node-tests/*.spec.ts && playwright test tests/*.spec.ts && ./tests/after-test.sh",
"test": "./tests/before-test.sh && echo $NODE_OPTIONS && vitest --run node-tests/*.spec.ts && playwright test tests/*.spec.ts && ./tests/after-test.sh",
"test-node": "vitest --run node-tests/*.spec.ts",
"test-node:watch": "vitest node-tests/*.spec.ts"
},
Expand Down

0 comments on commit 9b2b565

Please sign in to comment.