chore: must always build first now

This commit is contained in:
fryorcraken.eth 2022-11-02 14:11:21 +11:00
parent 6d717f2e55
commit 5df320de32
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 6 additions and 4 deletions

View File

@ -13,7 +13,7 @@ env:
NODE_JS: "16"
jobs:
build:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@ -52,6 +52,7 @@ jobs:
with:
node-version: ${{ env.NODE_JS }}
- uses: bahmutov/npm-install@v1
- run: npm run build
- run: npm run test:browser
node:
@ -75,6 +76,7 @@ jobs:
with:
node-version: ${{ env.NODE_JS }}
- uses: bahmutov/npm-install@v1
- run: npm run build
- run: npm run test:node
env:
DEBUG: "waku:nwaku*,waku:test*"
@ -121,7 +123,7 @@ jobs:
node-version: ${{ env.NODE_JS }}
- uses: bahmutov/npm-install@v1
- run: npm run build
- run: npm run test:node
env:
DEBUG: "waku:nwaku*,waku:test*"
@ -137,7 +139,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
needs: [build, proto, browser, node]
needs: [check, proto, browser, node]
steps:
- name: Checkout
uses: actions/checkout@v2

View File

@ -1,5 +1,5 @@
status = [
"build",
"check",
"proto",
"browser",
"node",