Some checks failed
CI / test (push) Failing after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
898 B
YAML
35 lines
898 B
YAML
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
|
|
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version: 24.18.0
|
|
- name: Install Dependencies
|
|
run: npm install --no-fund
|
|
- parallel:
|
|
- name: Typecheck
|
|
run: npm run test:types
|
|
- name: Lint
|
|
run: npm run lint
|
|
- name: Unit Test
|
|
run: npm run test:unit
|
|
- name: Build
|
|
run: npm run build
|