chore(deps): bump actions/checkout from 3 to 4 #760
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 | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- name: Install dependenciess | |
run: pnpm install --frozen-lockfile | |
# - name: Download snark-artifacts | |
# working-directory: packages/contracts | |
# run: pnpm run download:snark-artifacts | |
- name: Test | |
run: pnpm --filter ui run test # FIXME: run contract tests as well | |
- name: Check the build | |
run: pnpm run check | |
- name: Code linting | |
run: pnpm run lint | |
- name: Check dependencies, unused code | |
run: pnpm run knip |