fix(schema): a fresh install of ffc_reregistration_submissions lacked auth_code and magic_token (#1087 passo 5) #1522
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Asset Build Verification | |
| on: | |
| pull_request: | |
| branches: [main, develop, "release/**"] | |
| # Path filters were removed because branch protection requires this | |
| # check on every PR. Skipped runs (path-filtered) never report status | |
| # and leave PRs in mergeable_state: blocked. With npm cache + npm ci | |
| # the job finishes in well under a minute. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| name: Verify minified assets are up to date | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build assets | |
| run: npm run build | |
| - name: Check for uncommitted changes | |
| run: | | |
| if ! git diff --quiet assets/; then | |
| echo "::error::Minified assets are stale. Run 'npm run build' and commit the results." | |
| git diff --stat assets/ | |
| exit 1 | |
| fi | |
| echo "All minified assets are up to date." |