mirror of
https://github.com/dorny/paths-filter.git
synced 2024-11-12 08:38:35 +00:00
Check dist has been updated for new builds
This commit is contained in:
parent
f46f3f0cc6
commit
d28a6399db
14
.github/workflows/pull-request-verification.yml
vendored
14
.github/workflows/pull-request-verification.yml
vendored
@ -13,11 +13,21 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Need history for changelog generation
|
||||
- uses: volta-cli/action@v4
|
||||
- run: |
|
||||
pnpm install
|
||||
pnpm i
|
||||
pnpm run all
|
||||
# We need to make sure the checked-in `index.mjs` actually matches what we expect it to be.
|
||||
- name: Compare the expected and actual dist/ directories
|
||||
run: |
|
||||
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
|
||||
echo "Detected uncommitted changes after build. See status below:"
|
||||
git diff
|
||||
exit 1
|
||||
fi
|
||||
|
||||
test-inline:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user