Closed
Description
Description:
When using actions/setup-node@v4 within an Alpine Linux-based container or environment, the action appears to install Node.js successfully and adds the binary to the PATH. However, attempting to execute any Node.js command (e.g., node --version) results in a silent failure or an error indicating a libc incompatibility. This is likely due to the Node.js binaries provided by the action being compiled against glibc, while Alpine Linux uses musl libc.
Action version:
v4
Platform:
- Ubuntu
- macOS
- Windows
(Note: The issue occurs specifically on Alpine Linux, which is not listed above.)
Runner type:
- Hosted
- Self-hosted
Tools version:
Applies to all versions
Repro steps:
- https://github.com/Zondax/alpine-node/blob/test/.github/workflows/alpine.yml
- https://github.com/Zondax/alpine-node/blob/test/.github/workflows/bun-alpine.yml
Expected behavior:
The node binary should be executable.
Actual behavior:
The node binary fails to execute.