Skip to content

Commit

Permalink
fix test node
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Feb 23, 2024
1 parent 4249c98 commit 56e01be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:

- name: Run dwn-server (background)
run: |
pnpm exec node node_modules/@web5/dwn-server/dist/esm/src/main.js &
node node_modules/@web5/dwn-server/dist/esm/src/main.js &
echo "DWN_SERVER_BACKGROUND_PROCESS=$!" >> $GITHUB_ENV
- name: Run tests for all packages
run: pnpm --recursive --stream test:node -- --color --reporter mocha-junit-reporter --reporter-options mochaFile=./results.xml
run: pnpm --recursive --no-stream --sequential test:node -- --color --reporter mocha-junit-reporter --reporter-options mochaFile=./results.xml
env:
TEST_DWN_URL: http://localhost:3000

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"clean": "pnpm npkill -d $(pwd) -t node_modules && pnpm npkill -d $(pwd)/packages -t dist",
"build": "pnpm --recursive --stream build",
"dwn-server": "pnpm exec node_modules/@web5/dwn-server/dist/esm/src/main.js || true"
"dwn-server": "node node_modules/@web5/dwn-server/dist/esm/src/main.js || true"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 56e01be

Please sign in to comment.