Files
oc/.github/workflows/ci.yml
T

23 lines
535 B
YAML

# Run the test suite on every push and pull request. Tests are offline by
# design (fixtures in tests/pages), so CI never flakes on a live site.
name: ci
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
- run: npm ci
- run: npm test