Skip to content

biome を使ってフォーマット #7

biome を使ってフォーマット

biome を使ってフォーマット #7

Workflow file for this run

name: Check
on: pull_request
jobs:
build-type-check:
name: Build and Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: npm
- run: npm ci
- uses: actions/cache@v3
with:
key: ${{ runner.os }}-gatsby-build-${{ github.run_id }}
path: |
.cache
public
restore-keys: ${{ runner.os }}-gatsby-build-
- run: npm run build
- run: npm run type-check
style:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# because npm install is slow
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run lint
# skipping content because prettier can't format MDX
- run: bunx prettier src --check