Skip to content

fix!: migrate to the current Copilot metrics API, harden CI, correct docs #635

fix!: migrate to the current Copilot metrics API, harden CI, correct docs

fix!: migrate to the current Copilot metrics API, harden CI, correct docs #635

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
paths-ignore:
- "**.md"
push:
branches: [ main ]
paths-ignore:
- "**.md"
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm test
env:
TZ: 'America/New_York'
- name: Verify dist/ matches src/
run: |
if ! git diff --quiet --exit-code dist/; then
echo "::error::dist/ is out of date. Run 'npm run build' and commit the result."
git diff --stat dist/
exit 1
fi