Skip to content

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

biome を使ってフォーマット

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

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: Biome
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: biomejs/setup-biome@v2
- run: biome check .