Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc(build): add build step for report #12707

Merged
merged 10 commits into from
Jun 30, 2021
Merged

misc(build): add build step for report #12707

merged 10 commits into from
Jun 30, 2021

Conversation

connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Jun 25, 2021

breaking off some work from #12702

not using rollup here. I tried, but it was more effort than desired to get our weird exports working via commonjs+rollup, and this is just a transient change, so nbd.

@@ -39,6 +39,9 @@ mkdir -p "$fe_lh_dir"

lh_bg_js="dist/lighthouse-dt-bundle.js"

yarn build-report
yarn build-devtools
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

drive by change to also build devtools when rolling

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for breaking it up :)

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@@ -31,7 +32,7 @@
"lint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .",
"smoke": "node lighthouse-cli/test/smokehouse/frontends/smokehouse-bin.js",
"debug": "node --inspect-brk ./lighthouse-cli/index.js",
"start": "node ./lighthouse-cli/index.js",
"start": "yarn build-report && node ./lighthouse-cli/index.js",
Copy link
Collaborator

Choose a reason for hiding this comment

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

🎉 😃

build/build-report.js Outdated Show resolved Hide resolved
@connorjclark connorjclark changed the title build: add build step for report misc(build): add build step for report Jun 30, 2021
@patrickhulce
Copy link
Collaborator

I'll defer to @brendankenny on the last remaining point.

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

Successfully merging this pull request may close these issues.

4 participants