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

Add Node 17 to the build matrix #468

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Add Node 17 to the build matrix #468

merged 1 commit into from
Oct 27, 2021

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Oct 26, 2021

Modify the build matrix to add Node 17 to the environments under test. The GCC setup from Node 16 is reused here.

As a workaround for a bug caused by Node 17 switching to OpenSSL 3, we add the --openssl-legacy-provider option to the NODE_OPTIONS environment variable. See this node issue and this webpack issue for details.

Closes #464.

[skip changeset]

Modify the build matrix to add Node 17 to the environments under
test. The GCC setup from Node 16 is reused here.

As a workaround for a bug caused by Node 17 switching to
OpenSSL 3, we add the `--openssl-legacy-provider` option to the
`NODE_OPTIONS` environment variable. See [this node issue][node]
and [this webpack issue][webpack] for details.

[node]: nodejs/node#40455
[webpack]: webpack/webpack#14532
@unflxw unflxw added the chore label Oct 26, 2021
@unflxw unflxw self-assigned this Oct 26, 2021
@unflxw unflxw merged commit 2ba759a into main Oct 27, 2021
@unflxw unflxw deleted the add-node-17-to-build-matrix branch October 27, 2021 08:05
unflxw added a commit that referenced this pull request Mar 28, 2022
Revert the workaround applied in [#468][pr] for a Webpack bug with
Node 17 and OpenSSL 3. The `--openssl-legacy-provider` option is
no longer supported in newer Node versions.

[pr]: #468
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Node.js 17 build
3 participants