Update dependency @types/node to ^22.13.5 #166
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: push | |
jobs: | |
lint-and-typecheck: | |
name: Lint and typecheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
# see https://github.com/nodejs/corepack/issues/612 | |
- run: npm i -g corepack@latest | |
- run: corepack --version | |
- run: corepack enable | |
- run: pnpm install | |
- run: pnpm run lint:check | |
- run: pnpm run typecheck | |
- run: | | |
before=$(find .github/actions -type f -name "*.js" -exec md5sum {} + | awk '{print $1}' | sort | md5sum) | |
echo "before: $before" | |
pnpm run build-actions | |
after=$(find .github/actions -type f -name "*.js" -exec md5sum {} + | awk '{print $1}' | sort | md5sum) | |
echo "after: $after" | |
if [ "$before" != "$after" ]; then | |
echo "pn run build-actions caused a change - you probably haven't updated the action files" | |
exit 1 | |
fi | |