Skip to content

chore: ignore .specs (#3) #4

chore: ignore .specs (#3)

chore: ignore .specs (#3) #4

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
# The same lint + test pair the publish workflow gates on, run before the
# merge rather than after the tag. Until now nothing checked a pull request,
# so a change could only fail once it was already on its way to npm.
#
# ubuntu-latest, not a Blacksmith runner: this repo is public, so these
# minutes are free, and the job is short enough that a faster runner would
# save nothing worth paying for.
verify:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
- run: npm test