Skip to content

Commit

Permalink
run dwn server natively
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Dec 2, 2023
1 parent c5dece6 commit 52e96c0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,17 @@ jobs:
- name: Run linter for all packages
run: npm run lint --ws

- name: Run dwn-server
run: node node_modules/@web5/dwn-server/dist/esm/src/main.js
- name: Run dwn-server (background)
run: node node_modules/@web5/dwn-server/dist/esm/src/main.js &

- name: Run tests for all packages
run: npm run test:node --ws -- --color
env:
TEST_DWN_URL: http://localhost:3000

- name: Terminate dwn-server
run: kill $(jobs -p)

- name: Upload test coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
env:
Expand Down Expand Up @@ -125,12 +128,15 @@ jobs:
- name: Build all workspace packages
run: npm run build

- name: Run dwn-server
run: node node_modules/@web5/dwn-server/dist/esm/src/main.js
- name: Run dwn-server (background)
run: node node_modules/@web5/dwn-server/dist/esm/src/main.js &

- name: Run tests for all packages
run: npm run test:browser --ws

- name: Terminate dwn-server
run: kill $(jobs -p)

web5-spec:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 52e96c0

Please sign in to comment.