fix(cli): Check forge ast support #392
Workflow file for this run
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-e2e | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
cache: npm | |
node-version: '20.5.1' | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- run: | | |
npm ci | |
npm run build | |
- name: Update Hardhat Example Package | |
run: cd ./examples/sample-hardhat-project && npm i | |
- name: Update Foundry Example Package | |
run: cd ./examples/sample-foundry-project && npm i | |
- name: Initialize submodules | |
run: cd ./packages/cli && npm run test-e2e-prepare | |
- name: E2E Tests | |
run: cd ./packages/cli && npm run test-e2e |