Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CI Node version matrix not applied #319

Copy link
Copy link
Open
@annaerdi

Description

@annaerdi
Issue body actions

CI Node version matrix not applied – using default Node 20.x (Ubuntu) and 18.x (Windows) for all 6 runs.

  • Operating system and version: GitHub-hosted runners (ubuntu-latest, windows-latest)
  • Browser and version: N/A (CI-related)

Bug description:

The GitHub Actions workflow .github/workflows/npm.yml defines a matrix to test across Node versions 16.x, 17.x, and 18.x, but the setup-node step references env.node-version, which is not connected to the matrix.

As a result, the matrix is not being used, and the jobs are falling back to the default Node versions provided by GitHub runners.

For example:
build (ubuntu-latest, 17.x) — succeeded but actually ran:

node: v20.19.0
npm: 10.8.2

Suggested fix:

In the workflow file, replace node-version: ${{ env.node-version }} with node-version: ${{ matrix.node-version }}, however, this will likely cause the workflow to fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.