-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Test Jest website build for every PR #6613
Conversation
@@ -129,7 +130,7 @@ jobs: | |||
- store_test_results: | |||
path: reports/junit | |||
|
|||
test-and-deploy-website: | |||
test-or-deploy-website: |
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.
maybe we should call it just deploy-website
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.
I can change the name but is the naming okay ?
this PR implementation is
- if it is a push to branch (not a PR) -> deploy jestjs.io website
- if it is a PR -> test the static website build without deploying
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.
You're right, we should leave this naming
Codecov Report
@@ Coverage Diff @@
## master #6613 +/- ##
=======================================
Coverage 63.73% 63.73%
=======================================
Files 235 235
Lines 8935 8935
Branches 4 4
=======================================
Hits 5695 5695
Misses 3239 3239
Partials 1 1 Continue to review full report at Codecov.
|
I bet you need admin access to set it up - collaborators don't have access to bots or settings. Perhaps @JoelMarcey can do it for us? |
Oh right thats true. By the way Joel is on PTO for around 2 weeks since yesterday. I guess we'll have to wait |
Yes, admin access is required. We'd need Christoph or Joel to do it. Does @aaronabramov have admin access? |
@yangshun Ping me on messenger when you are online again, I can grant you access. |
@JoelMarcey @yangshun can you force https while you're in the settings? |
@rickhanlonii Just did that! 😄 |
@SimenB https://app.netlify.com/sites/jest-preview/deploys/5b5090ffdd28ef7e1a118cde
That PR #6716 also seems to have no relevant website files change @yangshun any ideas ? Edit: I have cleared the build cache. It should work for the future build now |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
This is successor of #6590.
Changes:
Notice this
This can cause build error which will return an unhandled promise. Currently jest use Docusaurus 1.3.0 which doesn't give non zero exit code when there is a build error. This is fixed in Docusaurus >= 1.3.1
Current local
yarn build
has an unhandled promise (build error)Current website deploy has an unhandled promise (build error)
https://circleci.com/gh/facebook/jest/27857
Test plan
yarn build
has no more unhandled promise2. Check this PR circleci run, should try to build the website for testing
https://circleci.com/gh/facebook/jest/27867