Skip to content

Merge pull request #6 from Bananapus/npm-ify #3

Merge pull request #6 from Bananapus/npm-ify

Merge pull request #6 from Bananapus/npm-ify #3

Workflow file for this run

name: contracts-template-tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
forge-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: bahmutov/npm-install@v1
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: install libraries
run: git submodule update --init
- name: Run tests
run: FOUNDRY_PROFILE=default forge snapshot # TODO: Change to fork once fork tests can be run
- name: Check contract sizes
run: FOUNDRY_PROFILE=ci_sizes forge build --sizes