Skip to content

chore: release 1.2.2 #470

chore: release 1.2.2

chore: release 1.2.2 #470

name: Verify bundle is fresh
on:
pull_request:
merge_group:
workflow_dispatch:
permissions:
contents: read
jobs:
check-bundle:
name: Check bundle is fresh
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version-file: .node-version
cache: npm
- name: Install dependencies
run: npm ci
- name: Bundle
run: npm run bundle
- name: Check bundle
id: diff
run: |
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff --ignore-space-at-eol --text dist/
exit 1
fi