Skip to content

Bump hardhat from 2.22.16 to 2.22.18 #22

Bump hardhat from 2.22.16 to 2.22.18

Bump hardhat from 2.22.16 to 2.22.18 #22

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout code
uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Compile contracts
run: yarn compile
- name: Store contract artifacts
uses: actions/upload-artifact@v3
with:
name: contracts-artifacts
path: build
- name: Create .env with Github Secrets
run: |
touch .env
echo FORK_RPC_PROVIDER=$FORK_RPC_PROVIDER >> .env
echo USDC_OWNER_ADDRESS=$USDC_OWNER_ADDRESS >> .env
env:
FORK_RPC_PROVIDER: ${{ secrets.FORK_RPC_PROVIDER }}
USDC_OWNER_ADDRESS: ${{ vars.USDC_OWNER_ADDRESS }}
- name: Hardhat Tests
run: |
yarn test