better-setup-node v1: pinned musl node + corepack pnpm

This commit is contained in:
2026-10-31 08:51:21 +02:00
commit f1e8278b45
2 changed files with 47 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# better-setup-node
Fork of the setup-node recipe for git.madapes.com runners. The runner images are musl-based,
so the official (glibc) Node builds fail with `no such file or directory` on exec — this
installs the pinned musl build from the official unofficial-builds mirror. When
`pnpm-version` is set, corepack (bundled with Node) activates that exact pnpm.
```yaml
- uses: https://git.madapes.com/actions/better-setup-node@v1
with: { node-version: "22.14.0", pnpm-version: "10.33.0" }
```