mirror of https://github.com/status-im/js-waku.git
chore: must build before we check
This commit is contained in:
parent
a30354cbd0
commit
fb2b58898d
|
@ -13,17 +13,6 @@ env:
|
|||
NODE_JS: "16"
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ env.NODE_JS }}
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- run: npm run check
|
||||
- run: npm run doc
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -33,6 +22,8 @@ jobs:
|
|||
node-version: ${{ env.NODE_JS }}
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- run: npm run build
|
||||
- run: npm run check
|
||||
- run: npm run doc
|
||||
|
||||
proto:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -146,7 +137,7 @@ jobs:
|
|||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
needs: [check, build, proto, browser, node]
|
||||
needs: [build, proto, browser, node]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
Loading…
Reference in New Issue