22 lines
492 B
YAML
Executable File
22 lines
492 B
YAML
Executable File
name: ci
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build-and-design:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
- run: npm install --no-audit --no-fund
|
|
- name: Typecheck
|
|
run: npm run typecheck
|
|
- name: Build
|
|
run: npm run build
|
|
- name: Impeccable design detector (anti-slop)
|
|
run: npx impeccable detect src/ --json || true
|