とりあえず正統派の軽減方法 #751
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: Front-end CI | |
on: | |
push: | |
paths: | |
- .github/workflows/frontend.yml | |
- frontend/**/* | |
defaults: | |
run: | |
working-directory: ./frontend | |
jobs: | |
build: | |
name: lint | |
runs-on: codebuild-problem-github-actions-${{ github.run_id }}-${{ github.run_attempt }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
version: 9 | |
run_install: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
cache-dependency-path: "frontend/pnpm-lock.yaml" | |
- run: pnpm install | |
- run: pnpm run lint | |
- run: pnpm run fmtcheck | |
- run: pnpm run typecheck |