Skip to content

Add tests against multiple Node.js versions #7169

Closed
@mtrezza

Description

@mtrezza

New Feature / Enhancement Checklist

Current Limitation

Parse Server CI currently only tests against Node 10.0.0 and 12.y.z (latest patch version).
This does not reflect the variety of Node versions in use in real word deployments.

Feature / Enhancement Description

Keep the Node versions for CI tests in sync with the Node versions in Long-Term-Support.

That means:

  • Removing the CI tests for Node 10 in April (EOL date April 2021).

  • Add tests for the following LTS versions:

    Version EOL Date Latest Patch Release
    Node 10 April 2021 10.23.2
    Node 12 April 2022 12.20.1
    Node 14 April 2023 14.15.4
  • When a new patch version is released, update the CI test version as well.

In addition, the Readme should contain a Node compatibility table to show against which Node versions Parse Server is tested.

This is related to #7160 which adds tests against multiple MongoDB versions and automatically ensures that tests always run against the latest patch version. A similar mechanism should be implemented for Node and leverage the existing mechanism.

Example Use Case

(none)

Alternatives / Workarounds

(none)

3rd Party References

(none)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions