mirror of https://github.com/waku-org/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"
|
NODE_JS: "16"
|
||||||
|
|
||||||
jobs:
|
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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -33,6 +22,8 @@ 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 build
|
||||||
|
- run: npm run check
|
||||||
|
- run: npm run doc
|
||||||
|
|
||||||
proto:
|
proto:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -146,7 +137,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: [check, build, proto, browser, node]
|
needs: [build, proto, browser, node]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in New Issue