diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 8770950de7..ed336ceaab 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -19,6 +19,11 @@ jobs: with: node-version: 18 + - name: Install dependencies + run: cd contracts && npm install + - name: Hardhat test + run: cd contracts && npx hardhat test + - name: Set up Go uses: actions/setup-go@v2 with: @@ -42,7 +47,3 @@ jobs: integration/.build/noderunner/noderunner-*.txt integration/.build/wallet_extension/wal-ext-*.txt if: always() # Ensures the artifacts are created even if the tests fail. - - name: Install dependencies - run: cd contracts && npm install - - name: Hardhat test - run: npx hardhat test