mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-25 02:22:14 +00:00
chore: run test after build (#1130)
Run CI tests and check at the same time
This commit is contained in:
parent
75b922dc21
commit
cbd9bad86d
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
test-node:
|
||||
needs: check
|
||||
needs: build
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
- uses: codecov/codecov-action@v1
|
||||
|
||||
test-chrome:
|
||||
needs: check
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -66,7 +66,7 @@ jobs:
|
||||
- run: npm run test:browser -- -t browser -t webworker --bail
|
||||
|
||||
test-firefox:
|
||||
needs: check
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -77,7 +77,7 @@ jobs:
|
||||
- run: npm run test:browser -- -t browser -t webworker --bail -- --browser firefox
|
||||
|
||||
test-ts:
|
||||
needs: check
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -88,7 +88,7 @@ jobs:
|
||||
- run: npm run test:ts
|
||||
|
||||
test-interop:
|
||||
needs: check
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user