Skip to content

Commit

Permalink
Use forge for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
boyuanx committed Apr 28, 2024
1 parent 447915d commit 1bf727b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/main-push-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Setup pnpm
uses: pnpm/[email protected]
with:
Expand All @@ -39,11 +44,16 @@ jobs:
- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Build application
run: npm run build
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run tests
run: npm test
- name: Run Forge tests
run: |
forge test -vvv
id: test

TypeScript-Static-Analyis:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1bf727b

Please sign in to comment.