-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add build steps to workflow #665
Conversation
Signed-off-by: Matt Provost <[email protected]>
Signed-off-by: Matt Provost <[email protected]>
.github/workflows/build_and_test.yml
Outdated
src: | ||
- 'src/**' | ||
- package.json | ||
- yarn.lock | ||
docs: | ||
- 'src-docs/**' | ||
- package.json | ||
- yarn.lock |
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.
To reviewers: should other related build files be added here? Ex. postcss.config.js
, tsconfig.json
, ...
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.
yeah, I think adding those is a good idea. It's hard to know whether an allowlist or a denylist is easier in this case.
Converting to draft to rethink some of the filtering stuff and also get build working on Windows |
Signed-off-by: Matt Provost <[email protected]>
I removed the path filter. I think at this point, adding a path filter would require more thought and effort than it's worth. I'd just like to get this out, and we can make a follow-up issue to figure out path filters. |
Signed-off-by: Matt Provost <[email protected]>
Signed-off-by: Matt Provost <[email protected]>
Signed-off-by: Matt Provost <[email protected]>
Signed-off-by: Matt Provost <[email protected]>
@@ -39,3 +39,29 @@ jobs: | |||
|
|||
- name: Run unit tests | |||
run: yarn test-unit | |||
|
|||
build: | |||
runs-on: ubuntu-latest |
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.
Signed-off-by: Matt Provost <[email protected]>
Signed-off-by: Matt Provost <[email protected]>
* Add build steps to workflow Signed-off-by: Matt Provost <[email protected]> * Add path filter Signed-off-by: Matt Provost <[email protected]> * Remove path filter Signed-off-by: Matt Provost <[email protected]> * Update yarn version for build CI Signed-off-by: Matt Provost <[email protected]> * Remove Windows from build CI Signed-off-by: Matt Provost <[email protected]> * Revert yarn version and add changlog entry Signed-off-by: Matt Provost <[email protected]> * Remove workflow matrix Signed-off-by: Matt Provost <[email protected]> * Add artifact upload steps Signed-off-by: Matt Provost <[email protected]> * Set workflow to upload artifacts as package Signed-off-by: Matt Provost <[email protected]> --------- Signed-off-by: Matt Provost <[email protected]> Co-authored-by: Josh Romero <[email protected]> (cherry picked from commit 62d5c8c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
* Add build steps to workflow Signed-off-by: Matt Provost <[email protected]> * Add path filter Signed-off-by: Matt Provost <[email protected]> * Remove path filter Signed-off-by: Matt Provost <[email protected]> * Update yarn version for build CI Signed-off-by: Matt Provost <[email protected]> * Remove Windows from build CI Signed-off-by: Matt Provost <[email protected]> * Revert yarn version and add changlog entry Signed-off-by: Matt Provost <[email protected]> * Remove workflow matrix Signed-off-by: Matt Provost <[email protected]> * Add artifact upload steps Signed-off-by: Matt Provost <[email protected]> * Set workflow to upload artifacts as package Signed-off-by: Matt Provost <[email protected]> --------- Signed-off-by: Matt Provost <[email protected]> Co-authored-by: Josh Romero <[email protected]> (cherry picked from commit 62d5c8c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Adds workflow steps to run
yarn build
andyarn build-docs
. These are good as verification steps and also generateoui.d.ts
, which will be very useful for #648. They are scheduled to run after bothyarn test-unit
andyarn lint
run because they are pretty hefty commands and should only be run if absolutely necessary.Check List
yarn lint
yarn test-unit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.