diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6732252..decf4fd 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -27,17 +27,25 @@ jobs: node-version: ${{ matrix.node }} cache: yarn + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly + - name: Install dependencies run: yarn install --immutable - - name: Run hardhat node, deploy contracts (& generate contracts typescript output) - run: yarn chain & yarn deploy + - name: Compile contracts + run: | + cd packages/hardhat + yarn hardhat clean + yarn compile - name: Run nextjs lint - run: yarn next:lint --max-warnings=0 + run: yarn next:lint - name: Check typings on nextjs run: yarn next:check-types - name: Run hardhat lint - run: yarn hardhat:lint --max-warnings=0 \ No newline at end of file + run: yarn hardhat:lint \ No newline at end of file