From 5df320de32572479281a7eea2ea0439ef264a37c Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Wed, 2 Nov 2022 14:11:21 +1100 Subject: [PATCH] chore: must always build first now --- .github/workflows/ci.yml | 8 +++++--- bors.toml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e72d535d1..90acc57d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/bors.toml b/bors.toml index 90e7fb8db..b5274599d 100644 --- a/bors.toml +++ b/bors.toml @@ -1,5 +1,5 @@ status = [ - "build", + "check", "proto", "browser", "node",