Skip to content

CI: verify gravity slider is present in built JS bundle#49

Open
Testtesttestestes wants to merge 1 commit into
mainfrom
codex/investigate-missing-gravity-slider-in-workflow-jmyq83
Open

CI: verify gravity slider is present in built JS bundle#49
Testtesttestestes wants to merge 1 commit into
mainfrom
codex/investigate-missing-gravity-slider-in-workflow-jmyq83

Conversation

@Testtesttestestes

Copy link
Copy Markdown
Owner

Motivation

  • Ensure the production build actually includes the Gravity slider code by failing CI early if the built bundle is missing the expected identifier.

Description

  • Added a new step to the build job in .github/workflows/build-static-page.yml that finds dist/assets/index-*.js and greps for the string Gravity, exiting non-zero if no built JS bundle is found or the string is absent.
  • The verification runs after npm run build and before preparing/uploading the release artifact.

Testing

  • The workflow runs the automated steps npm ci, npm run lint (type check), and npm run build as part of CI configuration.
  • The new verification step executes during CI and will cause the job to fail if no dist/assets/index-*.js file is present or if the Gravity string is not found.
  • No execution logs are included in this diff, so CI run results are not shown here and should be observed in the repository's workflow run output.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant