Skip to content
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

fix: Correct Node versions were not installed on test matrix #846

Merged
merged 15 commits into from Jun 10, 2020
Merged

fix: Correct Node versions were not installed on test matrix #846

merged 15 commits into from Jun 10, 2020

Conversation

tinovyatkin
Copy link
Member

@tinovyatkin tinovyatkin commented May 28, 2020

Fixes a bug in GitHub Action workflow resulted in all tests were running only on Node 12.x
Also now tests on minimum node version from package.json engines instead of any 10.x

The test for network-error partial response was failing on Node 10.16 and set conditionally.
I've expected it to be fixed by #845, but it seems that there is some underlying problem in Node <12.10 (I do believe it's nodejs/node#29376). This probably may be attended in a separate PR or leave as is (the functionality difference is that on Node < 12.10 fetch is resolving with a partial response)

Fixes test for a partial response that was failing on Node < 12.10 due to nodejs/node#29376 by backporting changes from that PR.

@tinovyatkin tinovyatkin changed the title fix-node-versions-for-actions fix: Out GitHub Actions actually all runs on Node 12.x May 28, 2020
@tinovyatkin tinovyatkin changed the title fix: Out GitHub Actions actually all runs on Node 12.x fix: Our GitHub Actions actually all runs on Node 12.x May 28, 2020
@tinovyatkin tinovyatkin changed the title fix: Our GitHub Actions actually all runs on Node 12.x fix: Our GitHub Actions actually all were running on Node 12.x May 28, 2020
@tinovyatkin tinovyatkin changed the title fix: Our GitHub Actions actually all were running on Node 12.x fix: Correct Node version were not installed on test matrix May 28, 2020
@tinovyatkin tinovyatkin changed the title fix: Correct Node version were not installed on test matrix fix: Correct Node versions were not installed on test matrix May 28, 2020
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@xxczaki xxczaki mentioned this pull request May 29, 2020
35 tasks
@SomaticIT
Copy link
Contributor

Hello, this issue is blocking the release 3.0.0-beta.7...
Maybe I can help moving forward on this issue?

test/request.js Show resolved Hide resolved
@tinovyatkin tinovyatkin requested a review from Richienb June 9, 2020 13:52
@tinovyatkin tinovyatkin dismissed Richienb’s stale review June 10, 2020 00:19

We test both AbortControllers in test/main, nothing to swap

@tinovyatkin tinovyatkin merged commit df1a4fa into node-fetch:master Jun 10, 2020
@tinovyatkin tinovyatkin deleted the fix-node-versions-for-actions branch June 10, 2020 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants