feat: v2 contracts natspec (#249) #390
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
types: | |
- synchronize | |
- opened | |
- reopened | |
- ready_for_review | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18.0.0" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build project | |
run: yarn build | |
- name: Test (foundry) | |
run: yarn test:foundry | |
- name: Test (hardhat) | |
run: yarn test |