You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I would like to run unlighthouse-ci for my nextjs app before I merge the code to main and deploy to production. I think I should either start a nextjs production server with the current code changes before running unlighthouse-ci in ci or point it to the vercel preview app. However I cannot find a way to configure a start script for unlighthouse-ci to run a local nextjs server and I also struggle to trigger the lighthouse-ci run based on the successful vercel preview deployment AND scope the following check to the PR and have it available as a check that would prevent merging the PR when unsuccessful. Does anyone have an example how it can work? My code lives here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone, I would like to run
unlighthouse-ci
for my nextjs app before I merge the code to main and deploy to production. I think I should either start a nextjs production server with the current code changes before runningunlighthouse-ci
in ci or point it to the vercel preview app. However I cannot find a way to configure astart script
forunlighthouse-ci
to run a local nextjs server and I also struggle to trigger thelighthouse-ci
run based on the successful vercel preview deployment AND scope the following check to the PR and have it available as a check that would prevent merging the PR when unsuccessful. Does anyone have an example how it can work? My code lives here.Beta Was this translation helpful? Give feedback.
All reactions