-
Notifications
You must be signed in to change notification settings - Fork 17
31 lines (29 loc) · 945 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (29 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: CI
on:
pull_request:
push:
branches-ignore: ["master"]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
# Node 24 matches local dev; npm 10 (Node 20) can't validate the
# npm-11 lockfile and lint-staged@17 requires Node >=22.
node-version: 24
cache: npm
- name: Install
run: npm ci
# Lint is non-blocking: the repo has a large pre-existing lint baseline
# (~800 errors). Surfaced for visibility but does not fail the build. The
# pre-commit hook (lint-staged) keeps NEW/changed files clean going
# forward; clearing the legacy baseline is tracked separately.
- name: Lint (non-blocking)
run: npm run lint
continue-on-error: true
- name: Typecheck
run: npm run typecheck
- name: Unit tests
run: npm run test:unit