Skip to content

Commit 1b0002f

Browse files
authored
test(fetch-all): track supported node majors, drop node20 (#286)
pkg-fetch 3.6.x no longer publishes prebuilt node20 binaries (it ships 22/24/26), so test-42-fetch-all's hard-coded node20 request 404s in the v3.6 remote cache and then fails the source-build fallback for win/macos on a Linux host. This broke the entire test:host suite (the only suite that runs this host-only test) after the pkg-fetch 3.6.3 bump. Update the fetched node ranges to 22/24 to match the versions pkg-fetch actually ships and the project's supported range (Node 22+).
1 parent d585e27 commit 1b0002f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test-42-fetch-all/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function nodeRangeToNodeVersion(nodeRange) {
1515
const platformsToTest = ['win', 'linux', 'macos'];
1616

1717
for (const platform of platformsToTest) {
18-
const nodeRanges = ['node20', 'node22'];
18+
const nodeRanges = ['node22', 'node24'];
1919
for (const nodeRange of nodeRanges) {
2020
const archs = ['x64'];
2121
if (platform === 'linux' || platform === 'macos') archs.push('arm64');

0 commit comments

Comments
 (0)