mirror of
https://github.com/ncipollo/release-action
synced 2026-09-07 20:04:03 +00:00
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6 to 7. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
885 B
YAML
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@v7
|
|
|
|
- uses: pnpm/action-setup@v6
|
|
with:
|
|
version: 11.7.0
|
|
|
|
- uses: actions/setup-node@v7
|
|
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)
|