Bump @types/node from 20.14.12 to 22.9.1 #5253
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: Node CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20, 21] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, build | |
run: | | |
npm ci | |
npm run lint | |
npm run build | |
- name: check no diff | |
run: | | |
diff_files=$(git diff) | |
if [[ -n "$diff_files" ]]; then | |
echo "Diff:" | |
echo "" | |
echo "$diff_files" | |
echo "" | |
echo "Please run 'npm run build' locally and commit changes." | |
exit 1 | |
fi |