Skip to content

⬆️📜 Update patch updates (#72) #224

⬆️📜 Update patch updates (#72)

⬆️📜 Update patch updates (#72) #224

Workflow file for this run

name: Check Action distribution
on:
push:
branches:
- main
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run build
- name: Compare the expected and actual dist/ directories (using git diff)
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 --ignore-space-at-eol --text
exit 1
fi
id: diff
- name: Upload expected dist
if: ${{ failure() && steps.diff.outcome == 'failure' }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: dist
path: dist/
retention-days: 5