Skip to content

CI tests fail with older Node.js versions #22

@MikeMcC399

Description

@MikeMcC399

Issue

CI test workflows are failing on older Node.js versions <= 14:

Workflow Fails for Node.js
.github/workflows/test-macos.yml <= 14
.github/workflows/test-ubuntu.yml <= 6
.github/workflows/test-windows.yml = 6

macos-latest

The workflow .github/workflows/test-macos.yml fails when attempting to set up Node.js 4, 6, 8, 10, 12 and 14 with the error

Unable to find Node version 'xx' for platform darwin and architecture arm64.

GitHub Actions' macos-latest is currently equivalent to macos-14 which is an arm64 image. Node.js v16.0.0 was the first release to ship prebuilt binaries for Apple Silicon i.e. arm64.

ubuntu-latest

The workflow .github/workflows/test-ubuntu.yml fails when attempting to execute npm install under Node.js 4 and 6.

windows-latest

The workflow .github/workflows/test-windows.yml fails when attempting to execute npm install under Node.js 6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions