Skip to content

Biomeの導入, 導入に伴い警告箇所を修正 #105

Biomeの導入, 導入に伴い警告箇所を修正

Biomeの導入, 導入に伴い警告箇所を修正 #105

Workflow file for this run

name: Code Check
on:
push:
tags-ignore:
- '*'
branches: [main]
paths-ignore:
- '**.md'
pull_request:
types: [opened, synchronize, reopened]
env:
PNPM_VERSION: 8.6.5
jobs:
code-check:
name: Code Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile --reporter=silent
- name: eslint
run: pnpm run lint
- name: prettier
run: pnpm run format
- name: typecheck
run: pnpm run typecheck
- name: testing
run: pnpm run test
- name: build pkgs
run: pnpm run build