Bump actions/github-script from 6 to 7 #2244
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: CI | |
on: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: 16 | |
- 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 | |
- uses: codecov/codecov-action@v3 |