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 }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
test-node:
|
test-node:
|
||||||
needs: check
|
needs: build
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1
|
||||||
|
|
||||||
test-chrome:
|
test-chrome:
|
||||||
needs: check
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -66,7 +66,7 @@ jobs:
|
|||||||
- run: npm run test:browser -- -t browser -t webworker --bail
|
- run: npm run test:browser -- -t browser -t webworker --bail
|
||||||
|
|
||||||
test-firefox:
|
test-firefox:
|
||||||
needs: check
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -77,7 +77,7 @@ jobs:
|
|||||||
- run: npm run test:browser -- -t browser -t webworker --bail -- --browser firefox
|
- run: npm run test:browser -- -t browser -t webworker --bail -- --browser firefox
|
||||||
|
|
||||||
test-ts:
|
test-ts:
|
||||||
needs: check
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -88,7 +88,7 @@ jobs:
|
|||||||
- run: npm run test:ts
|
- run: npm run test:ts
|
||||||
|
|
||||||
test-interop:
|
test-interop:
|
||||||
needs: check
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user