Files
core/.github/workflows/ci.yml
T
chrnx 02931cb1b9 ci: run checks on the contrib branch
External contributions land on `contrib`, and a PR targeting a branch absent
from the trigger list gets no checks at all — leaving contributors without the
feedback that would have caught the failure themselves.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-08 16:48:03 -05:00

29 lines
693 B
YAML

name: CI
on:
push:
branches: [develop, main, contrib]
pull_request:
branches: [develop, main, contrib]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm ci
- run: npm audit
- run: npm run lint
- run: npm run format:check
- run: npm run complexity:check
- run: npm run typecheck
- run: npm test
- run: npm run build
- uses: actions/setup-node@v4
with:
node-version: '22.12'
- run: npm ci --prefix website
- run: npm audit --prefix website
- run: npm run docs:build