-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
build: allow node latest build to fail #808
build: allow node latest build to fail #808
Conversation
This is due to a braking change in npx adding a -y flag
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit f9379a5:
|
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.
But now any failure in node would be displayed as green.
Does travis not allow conditional scripts based on variables? We should rather adjust the jobs accordingly i.e. run npx -y codecov@3
in node 15
Edit: just found
npm_config_yes=true npx mocha
Codecov Report
@@ Coverage Diff @@
## master #808 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 4
Lines 117 117
Branches 16 16
=========================================
Hits 117 117 Continue to review full report at Codecov.
|
The allow_failures is only for But I do agree that it would be better to fix it specifically for node 15. I'll have a look as I'm not 100% familiar with travis. |
I would start with |
We could definitely go with that approach, but I'm not a big fan of experimental software (odd versions of node) blocking our ability to release 😬 If something else comes up that would be pretty annoying. |
I'm hesitant as well but |
I agree it's not a big deal. What I mean is considering Node 15 is experimental software, our build could break for confusing reasons and if that stops us from shipping that would be annoying since we technically don't support experimental versions of node. |
I guess I'm saying we can add that to get around this issue, but I also want to make it so the node 15 build doesn't fail CI. |
Why do we have the Also want to be clear that node 15 is not experimental. It's as stable as any released software. It just is not considered LTS. |
Yeah, I think it would make sense to remove |
This is due to a braking change in npx adding a -y flag
What: Allow node latest build to fail because of a change in npx requiring us to add a
-y
flag to our CI.Why: At the moment, our build is failing for Node 15.
How: Add the node latest version to the
allow_failures
section.Checklist:
docs site - N/A
This was raised in this comment by @kentcdodds.