Skip to content

Conversation

patrickhulce
Copy link
Collaborator

Summary
lhci now has a built-in static server we can use that does compression and other sensible things, we should also be getting status checks for LHCI when it runs

Copy link
Contributor

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

LGTM!


# Kill the static server from earlier.
kill $!
lhci upload --serverBaseUrl="$LHCI_CANARY_SERVER_URL" --token="$LHCI_CANARY_SERVER_TOKEN" --github-token="$BUNDLESIZE_GITHUB_TOKEN"
Copy link
Contributor

Choose a reason for hiding this comment

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

--github-token="$BUNDLESIZE_GITHUB_TOKEN"

I assume this works and has a good reason to happen :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Works great :)

image

Haha, yeah we just need any github token that can set status checks on our repo, so seemed better to reuse than have two floating around with potentially wider access?

@brendankenny brendankenny merged commit 9d78ca0 into master Oct 25, 2019
@brendankenny brendankenny deleted the lhci_v2 branch October 25, 2019 15:15
paulirish pushed a commit that referenced this pull request Nov 6, 2019
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.

3 participants