Skip to content

ci.yml: fix workflow trigger (#19) #12

ci.yml: fix workflow trigger (#19)

ci.yml: fix workflow trigger (#19) #12

Workflow file for this run

name: CI checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run typecheck
- run: npm run lint
- run: npm run lint:docs
- run: npm run test
- name: Check that commit contains build artifacts
run: |
npm run build
git diff --exit-code || (echo "Error: changes detected after build." && exit 1)