Skip to content

Notification project for Claude Code #3

Notification project for Claude Code

Notification project for Claude Code #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
name: ${{ matrix.os }} / Node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [20, 22]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Smoke check bundle entries
shell: bash
run: |
test -f dist/cli.cjs
test -f dist/cli.js
test -f dist/hook.cjs
test -f dist/hook.js
test -f dist/cli.d.ts
test -f dist/hook.d.ts