-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Use node:16.5 for frontend instead of node:16 #16591
Conversation
Jest does not appear to work on the latest node 16.6.0 and fails with an inscrutable message. I have been unable to work out what the problem is. This PR simply disables the test-frontend part in the makefile. Another alternative would be to drop node to node 14 - which is the LTS for node. Signed-off-by: Andrew Thornton <[email protected]>
The recent change in node 16 has caused jest to break and thence our CI. This PR changes to use Node 14 instead of 16. Closes go-gitea#16591 Signed-off-by: Andrew Thornton <[email protected]>
Signed-off-by: Andrew Thornton <[email protected]>
Signed-off-by: Andrew Thornton <[email protected]>
Ah it might be something to do with webpack |
|
Codecov Report
@@ Coverage Diff @@
## main #16591 +/- ##
==========================================
- Coverage 45.35% 45.35% -0.01%
==========================================
Files 750 750
Lines 85096 85096
==========================================
- Hits 38599 38594 -5
- Misses 40252 40255 +3
- Partials 6245 6247 +2
Continue to review full report at Codecov.
|
OK there's a fix in node already regarding this: nodejs/node#39593 But node 16.7.0 has not been released as yet and is unlikely it appears to be released for a little while yet. I'm not certain what is the best thing to do:
In the meantime however we can't release, merge or build until this is sorted out. Personally I vote for merging this and paying attention to node when it releases 16.7 but if another issue like this occurs we should seriously consider if we want to be running the latest version of node instead of the LTS. I think leaving our CI as broken is not a tolerable situation. |
agree - get this in and if something similar pop up use LTS :) |
* Disable frontend testing Jest does not appear to work on the latest node 16.6.0 and fails with an inscrutable message. I have been unable to work out what the problem is. This PR simply disables the test-frontend part in the makefile. Another alternative would be to drop node to node 14 - which is the LTS for node. Signed-off-by: Andrew Thornton <[email protected]> * actually just tell on 16.5 instead Signed-off-by: Andrew Thornton <[email protected]> * Use node 16.5 instead of 16 Signed-off-by: Andrew Thornton <[email protected]>
Webpack does not appear to work on the latest node 16.6.0 and fails with an inscrutable
message.
I have been unable to work out what the problem is. This PR forcibly uses node 16.5 everywhere instead of node 16.
Close #16592
Signed-off-by: Andrew Thornton [email protected]