Skip to content

CI

CI #2850

Workflow file for this run

name: CI
on:
merge_group:
pull_request:
push:
branches:
- main
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
- run: |
if [ ! -f dist/index.js ]; then
echo "Missing dist file"
ls -l dist/ || true
exit 1
fi
- run: npm ci
- run: npm run format-check
- run: npm run lint-check
- run: npm run build
- run: npm run test
- run: npm run pack
- run: |
if [ -n "$(git status --porcelain dist/)" ]; then
echo "Detected uncommitted changes in dist/:"
git status --porcelain dist/
git diff dist/
exit 1
fi
- uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1