Skip to content

Add packageManager

Add packageManager #10

Workflow file for this run

name: test
on:
push:
branches:
- "main" # This will match pushes to all branches
workflow_dispatch:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v4
with:
run_install: false
- name: Install Foundry dependencies
run: |
forge --version
forge install
id: forge-install
- name: Install pnpm dependencies
run: |
pnpm install
id: pnpm-install
- name: Run Forge tests
run: |
pnpm test
id: test