Skip to content

Fix deploy silently no-ops after zx 7→8 upgrade (#99) (#100) #5

Fix deploy silently no-ops after zx 7→8 upgrade (#99) (#100)

Fix deploy silently no-ops after zx 7→8 upgrade (#99) (#100) #5

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- master
- 'releases/*'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: '22'
package-manager-cache: false
- run: npm ci
- run: npm run build
- name: Check dist/ is up to date
run: |
if [ "$(git diff --name-only dist/)" != "" ]; then
echo "dist/ is out of date. Run 'npm run build' and commit the result."
git diff dist/
exit 1
fi