Repository navigation
chore(ci): run Next.js production build - #528
Conversation
There was a problem hiding this comment.
Welcome to Ansvisor, and thank you for your first PR! A maintainer will be by soon to review.
In the meantime, two things that make review faster:
- A short description of why the change matters, not just what it does — most of our PRs link a
Fixes #...to the issue that explains the why. - A quick local test note if there's anything worth eyeballing in the browser.
If you'd like to keep an eye on where Ansvisor goes next, a ⭐ on the repo helps others discover it (and Watch sends you a ping when related issues land). Either way — looking forward to your next one.
gkhngyk
left a comment
There was a problem hiding this comment.
Exactly the right shape — minimal step, clearly fake placeholders keeping real secrets out of CI, and verifying the 'use server' sync-export failure mode locally was a great touch. The build step passing in this PR's own run seals it. Thanks!
One thing: this is still marked as a draft — if it's complete on your end (it looks complete to me), hit "Ready for review" so it can be merged.
Summary
The production build completes in about 19 seconds locally, so this change does not add
.next/cachecaching.Related issue
Closes #523
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsValidation
yarn format:checkyarn lintyarn typecheckyarn test(47 tests)yarn buildwith the workflow's placeholder environment'use server'module and confirmednext buildfails withServer Actions must be async functionsChecklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)