Skip to content

feat: finalize nodev20 branch #317

feat: finalize nodev20 branch

feat: finalize nodev20 branch #317

Workflow file for this run

name: Test (V2)
on:
push:
branches:
- main
paths:
- 'v2/**'
pull_request:
branches:
- "**"
paths:
- 'v2/**'
types:
- synchronize
- opened
- reopened
- ready_for_review
defaults:
run:
working-directory: ./v2
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "21.1.0"
registry-url: "https://registry.npmjs.org"
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install Dependencies
run: |
yarn install
forge soldeer update
- name: Test
run: yarn test
- name: Coverage
run: yarn coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info