Add global formatting for the webapp. #23
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: Check project | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Fake contract deployment | |
run: mkdir -p packages/contracts/out && echo "{}" > packages/contracts/out/deployment.json | |
- run: make setup | |
- run: make check | |
- name: Check formatting with Prettier | |
run: cd packages/webapp && make check |