Skip to content

style: misc fixes (#22) #85

style: misc fixes (#22)

style: misc fixes (#22) #85

Workflow file for this run

name: CI
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
ETZ: 0
jobs:
test:
name: Node.js v${{ matrix.nodejs }} (${{ matrix.os }})
timeout-minutes: 5
runs-on: ${{ matrix.os }}
strategy:
matrix:
nodejs: [18, 20]
os: [ubuntu-latest, macOS-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodejs }}
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Format
run: pnpm format --check
- name: Lint
run: pnpm lint --no-fix
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test -- --coverage