Skip to content

chore: bump alloy (#13) #50

chore: bump alloy (#13)

chore: bump alloy (#13) #50

Workflow file for this run

name: Node.js
on:
push:
branches:
- main
pull_request:
env:
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
jobs: # each workflow consists of 1+ jobs; by default, all jobs run in parallel
test: # Run tests.
runs-on: ubuntu-latest # host's operating system
steps: # each job consists of 1+ steps
- name: Checkout commit # download the code from triggering commit
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "yarn"
cache-dependency-path: "yarn.lock"
- name: Install dependencies 📦
run: yarn install --frozen-lockfile
- name: Run prettier check
run: yarn prettier
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build
id: build
- name: Generate Typechain types
run: yarn typechain
- name: Run hardhat tests
run: yarn test:hardhat