add initial version of standalone amm page #431
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 | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "apps/pool-metadata/contracts/**" | ||
pull_request: | ||
paths: | ||
- "apps/pool-metadata/contracts/**" | ||
env: | ||
FOUNDRY_PROFILE: ci | ||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: ./apps/pool-metadata/contracts | ||
jobs: | ||
foundry: | ||
name: Foundry project | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: ./.github/workflows/setup-pnpm | ||
with: | ||
Check failure on line 36 in .github/workflows/contracts-test.yml GitHub Actions / testInvalid workflow file
|
||
npm_token: ${{ secrets.NPM_TOKEN }} | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Run Forge build | ||
run: | | ||
forge --version | ||
forge build --sizes | ||
id: build | ||
- name: Run Forge tests | ||
run: | | ||
forge test -vvv | ||
id: forge-test |