Skip to content

Add busy indicators (aka spinners) (#918) #2339

Add busy indicators (aka spinners) (#918)

Add busy indicators (aka spinners) (#918) #2339

name: Verify built assets
on:
push:
branches: ["main", "rc-*"]
pull_request:
merge_group:
jobs:
verify_js_built:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Extract node version from .nvmrc
id: nvm
working-directory: js
run: |
echo "version=$(cat .nvmrc)" >> $GITHUB_OUTPUT
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.version }}"
- name: Install dependencies
run: npm ci
working-directory: js
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Build
run: npm run build
working-directory: js
- name: Check for uncommitted changes
run: |
if [[ `git status --porcelain` ]]; then
git diff
echo "Uncommitted changes found. Please commit any changes that result from 'npm run build'."
exit 1
else
echo "No uncommitted changes found."
fi
working-directory: js