Skip to content

Setup Node fails with node 14 #1499

@dpalvolgyi-pw

Description

@dpalvolgyi-pw

Description:
When installing node 14 with the action, runs to an error (with syntax that's not supported by node 14)

Action version:
v6

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

node: 14.21.3
yarn: 3.8.7
Repro steps:
Repro in this file: https://github.com/dpalvolgyi-pw/setup-node-repro/blob/main/.github/workflows/main.yaml

Expected behavior:
Setup node does not crash

Actual behavior:
It crashes

Additional Info
There is no indication that node 14 is not supported, the examples even show node 12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions