Skip to content

Run production build in CI - #735

Open
PeterDaveHello wants to merge 1 commit into
masterfrom
ci-build
Open

Run production build in CI#735
PeterDaveHello wants to merge 1 commit into
masterfrom
ci-build

Conversation

@PeterDaveHello

Copy link
Copy Markdown
Member

Summary

  • Add yarn build to the existing PR and master push CI workflow.
  • Ensure production webpack bundling is checked before merge and on master pushes.
  • Keep the existing workflow structure and Node.js version unchanged.

Verification

  • yarn test --detectOpenHandles --forceExit
  • yarn build
  • git diff --check
  • ./node_modules/.bin/commitlint --from HEAD~1 --to HEAD --verbose

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a production webpack build to the existing CI workflow so bundling errors are caught on pull requests and on pushes to master.

Changes:

  • Run yarn build after the existing Jest test step in the pr.yml workflow.
  • Ensure CI validates both tests and production build output on PRs and master pushes.

馃挕 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/pr.yml
node-version: 16
- run: yarn
- run: yarn test --detectOpenHandles --forceExit
- run: yarn build

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can rename to CI or Test and Build if needed.

@PeterDaveHello
PeterDaveHello marked this pull request as ready for review May 9, 2026 16:47
@PeterDaveHello
PeterDaveHello requested review from a team May 9, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants