Skip to content

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

Merged
tinovyatkin merged 15 commits intonode-fetch:masterfrom
tinovyatkin:fix-node-versions-for-actions
Jun 10, 2020
Merged

fix: Correct Node versions were not installed on test matrix#846
tinovyatkin merged 15 commits intonode-fetch:masterfrom
tinovyatkin:fix-node-versions-for-actions

Conversation

@tinovyatkin
Copy link
Copy Markdown
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
Comment thread .github/workflows/ci.yml Outdated
@xxczaki xxczaki mentioned this pull request May 29, 2020
35 tasks
@SomaticIT
Copy link
Copy Markdown
Contributor

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

@xxczaki xxczaki requested review from LinusU and larson-carter June 6, 2020 19:34
Comment thread test/request.js
@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.

5 participants