Skip to content

Provide static nodejs option #1311

Open
@cpboyd

Description

@cpboyd

Description:
setup-node fails on linux image without dependencies.

Action version:
v4.4.0

Platform:

  • Ubuntu
  • macOS
  • Windows
  • Custom: gcr.io/kaniko-project/executor:debug

Runner type:

  • Hosted
  • Self-hosted

Tools version:

node v20 (in order to run other actions)

Repro steps:
Attempting to run other node/typescript actions like https://github.com/actions/checkout

Expected behavior:
The actions should work as expected.

If GitHub intends for people to run Actions with Nodejs, then a static version of node should be provided that can work on images without all the necessary libraries.

Specifically, GitLab did not have this problem because checking out files and loading values from Hashicorp Vault occurred before the volume was mounted to the runner.

Actual behavior:
The actions fail with unhelpful "not found" errors, likely due to missing libraries.

Metadata

Metadata

Assignees

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