Skip to content

chore: migrate from Yarn Classic to npm #61

chore: migrate from Yarn Classic to npm

chore: migrate from Yarn Classic to npm #61

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
name: Build & test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [22.x, 24.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run lib:build
- run: npm run lib:test
lint:
name: Lint
runs-on: ubuntu-latest
# Non-blocking for now: a handful of react-hooks v7 findings and one
# deferred public type are still open. Drop continue-on-error once the
# remaining errors are resolved to make lint a required check.
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: npm
- run: npm ci
- run: npm run lint