+
Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Support for Node 14, the new LTS release #573

Merged
merged 6 commits into from
Feb 12, 2021
Merged

Conversation

sisou
Copy link
Member

@sisou sisou commented Nov 11, 2020

Pull request checklist

  • All tests pass. Demo project builds and runs.
  • I have resolved any merge conflicts.

What's in this pull request?

Update @nimiq/jungle-db dependency to its latest version, which includes an updated node-lmdb version that supports Node v14, which is the new LTS release since October 27, 2020.

Without this update, @nimiq/core fails to install under Node v14.

This PR also includes a basic Github Actions workflow to test the install under both Node 12 and 14, to prove that before the update of node-lmdb it didn't work. The workflow has the "Lint Types" and "Test Node/Browser" steps commented out, as the first currently fails (fixed in #569) and the tests fail because of CI timeout (I haven't investigated how to increase the timeout).

@sisou sisou added bug dependencies Pull requests that update a dependency file labels Nov 11, 2020
@sisou sisou requested a review from paberr November 11, 2020 09:48
@sisou sisou self-assigned this Nov 11, 2020
@Eligioo Eligioo mentioned this pull request Jan 6, 2021
2 tasks
@sisou
Copy link
Member Author

sisou commented Feb 12, 2021

I re-enabled type-linting and Node-tests, they both work now (type-linting only for the pull_request job, as the fix for that is now merged into master).

IMO we can disable tests for Node 12. I originally added them to demonstrate the regression in Node 14, but to not waste computing power, we can remove Node 12 and only run on v14, until v16 comes out. Wdyt?

@jeffesquivels jeffesquivels merged commit 3931d2e into master Feb 12, 2021
@jeffesquivels jeffesquivels deleted the soeren/node-14 branch February 12, 2021 16:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载