diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24c3ea04..e7b79eeb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ concurrency: group: ${{github.workflow}}-${{github.ref}} cancel-in-progress: true +env: + MAINNET_RPC: ${{ secrets.MAINNET_RPC }} + SEPOLIA_RPC: ${{ secrets.SEPOLIA_RPC }} + jobs: unit-tests: name: Run Unit Tests @@ -57,13 +61,6 @@ jobs: - name: Precompile using 0.8.14 and via-ir=false run: yarn build - - name: Create env file - run: | - touch .env - echo MAINNET_RPC="${{ secrets.MAINNET_RPC }}" >> .env - echo SEPOLIA_RPC="${{ secrets.SEPOLIA_RPC }}" >> .env - cat .env - - name: Run tests run: yarn test:integration