build(deps): bump @actions/core from 1.10.1 to 1.11.1 #118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify that dist is compiled | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run test | |
- run: npm run prepare | |
- name: Verify that `dist/index.js` is up to date | |
shell: bash | |
run: | | |
# `ncc` might produce output with mixed line endings | |
test -z "$(git diff -w HEAD | tee diff.txt)" || { | |
echo 'Files changed after `npm run package`' | |
cat diff.txt | |
exit 1 | |
} |