Skip to content

Update dependency @actions/github to v6 #1245

Update dependency @actions/github to v6

Update dependency @actions/github to v6 #1245

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
with:
node-version-file: .nvmrc
- run: |
if [ ! -f dist/index.js ]; then
echo "Missing dist file"
ls -l dist/
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 [ "$(git diff --name-only | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes to:"
git diff
exit 1
fi