Skip to content

refactor: apply spec.md code standards — ESLint 9 flat config, vitest… #2

refactor: apply spec.md code standards — ESLint 9 flat config, vitest…

refactor: apply spec.md code standards — ESLint 9 flat config, vitest… #2

Workflow file for this run

name: CI
on:
push:
branches: [main, refactor]
pull_request:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Type check
run: pnpm typecheck
- name: Test
run: pnpm test --coverage
- name: Build
run: pnpm build
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
files: ./coverage/lcov.info