Skip to content

Add global formatting for the webapp. #16

Add global formatting for the webapp.

Add global formatting for the webapp. #16

Workflow file for this run

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: Install dependencies for webapp
run: cd packages/webapp && pnpm install
- name: Check formatting with Prettier
run: cd packages/webapp && npx prettier --check "**/*.{js,jsx,ts,tsx,json,css}"