Files
release-action/.github/workflows/build.yml
T
Nick Cipollo a9f89a34f0 Fixes #613 Bump node version in workflows (#614)
Also:
- Increase min age of dependencies to 3 days
- Fix pnpm11 issues
2026-05-26 09:02:37 -04:00

38 lines
885 B
YAML

name: "PR Checks"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check_pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
with:
version: latest
- uses: actions/setup-node@v6
with:
node-version: 24
cache: 'pnpm'
- name: "pnpm install"
run: pnpm install
- name: "pnpm build"
run: pnpm build
- name: "check for uncommitted changes"
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
run: |
git diff --exit-code --stat -- . ':!node_modules' \
|| (echo "##[error] found changed files after build. please 'pnpm build && pnpm run format'" \
"and check in all changes" \
&& exit 1)