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

View File

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