(n: number)
| 158 | fs.mkdirSync(work); |
| 159 | fs.writeFileSync(path.join(site, 'node-v24.22.1-linux-x64', 'bin', 'node'), '#!/bin/sh\n'); |
| 160 | const arg = (n: number) => windows ? `$(cygpath -u "$${n}")` : `$${n}`; |
| 161 | // Packed the way nodejs.org packs a release: one top-level folder. |
| 162 | const pack = shell(`set -eu\ncd "${arg(1)}"\ntar -czf ${archive} node-v24.22.1-linux-x64`, [site]); |
| 163 | expect(pack.status, pack.stderr).toBe(0); |