chore: must build before we check

This commit is contained in:
fryorcraken.eth 2022-11-01 19:48:44 +11:00
parent a30354cbd0
commit fb2b58898d
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 3 additions and 13 deletions

View File

@ -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

View File

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