-
Notifications
You must be signed in to change notification settings - Fork 0
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
DOP-4247: New Github Action to build docs site artifact #77
Conversation
minor. theres a few typescript errors from the CI / TS tests. most are fixable with vscode formatter using eslint but some are not automatic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
think we would want to promisify the streams, and also return a bundle zip? CMIIW
} | ||
}); | ||
|
||
await once(rl, 'close'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is cool. I didn't know you can use an event like this
Ticket
DOP-4247
Notes
This new custom Github Action is created to download build artifacts of a docs site so that later in the pipeline another Action can run a Lighthouse score on the built site.
It fetches the most recent build data from the Snooty Data API per the project designated, parses the data apart into a similar structure as our zipped manifests, and saves them to the process for Snooty to use in a build.
There is a companion PR in Snooty to be opened soon.
Behavior with both PRs
Cloud-docs
Server Docs
^ note above you can download the build artifacts