From 2e3ea65b98f722054094627498b6ea44145f3d6c Mon Sep 17 00:00:00 2001 From: Matthew Pereira Date: Thu, 11 Jul 2024 22:48:10 -0700 Subject: [PATCH] Attempt to upgrade CI checks with fork deployment --- .github/workflows/lint.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 818f7550..4a4e300a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -35,16 +35,16 @@ jobs: - name: Install dependencies run: yarn install --immutable - # - name: Run foundry anvil fork - # run: yarn fork - # env: - # SEPOLIA_RPC_URL: ${{ secrets.SEPOLIA_RPC_URL }} - - # - name: Deploy contracts to anvil fork - # run: yarn deploy:factory - # env: - # DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }} - # SEPOLIA_RPC_URL: ${{ secrets.SEPOLIA_RPC_URL }} + - name: Run foundry anvil fork + run: yarn fork & + env: + SEPOLIA_RPC_URL: ${{ secrets.SEPOLIA_RPC_URL }} + + - name: Deploy contracts to anvil fork + run: yarn deploy + env: + DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }} + SEPOLIA_RPC_URL: ${{ secrets.SEPOLIA_RPC_URL }} - name: Run nextjs lint run: yarn next:lint --max-warnings=0