Skip to content

Update all non-major dependencies (#63) #172

Update all non-major dependencies (#63)

Update all non-major dependencies (#63) #172

Workflow file for this run

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