chore(workflows): adding pr-check.yaml to validate dist folder

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
This commit is contained in:
axel7083 2026-03-19 10:34:55 +01:00
parent fc06bc1257
commit fbd8dd96bd
No known key found for this signature in database
GPG Key ID: 25BB08A6972066FB

27
.github/workflows/pr-check.yaml vendored Normal file
View File

@ -0,0 +1,27 @@
name: pr-check
on: [ pull_request ]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: true
- name: Update dist
run: pnpm run update-pnpm-dist
- name: Check for uncommitted changes in dist
run: git diff --exit-code dist