This might be because nodejs 20 is used rather than 22.
The odd thing is that it only fails on certain commits
Logs from one of the runs that failed:
20 [base 8/12] RUN pnpm install --frozen-lockfile
20 0.390 warn: This version of pnpm requires at least Node.js v22.13
20 0.390 warn: The current version of Node.js is v20.19.2
20 0.390 warn: Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
20 0.665 node:internal/modules/cjs/loader:1036
20 0.665 throw new ERR_UNKNOWN_BUILTIN_MODULE(request);
20 0.665 ^
20 0.665
20 0.665 Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
20 0.665 at Module._load (node:internal/modules/cjs/loader:1036:13)
20 0.665 at Module.require (node:internal/modules/cjs/loader:1298:19)
20 0.665 at require (node:internal/modules/helpers:182:18)
20 0.665 at ../store/index/lib/index.js (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:16081:25)
20 0.665 at __init (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:15:56)
20 0.665 at ../resolving/npm-resolver/lib/index.js (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:27558:5)
20 0.665 at __init (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:15:56)
20 0.665 at ../workspace/projects-graph/lib/index.js (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:27696:5)
20 0.665 at __init (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:15:56)
20 0.665 at ../workspace/projects-filter/lib/index.js (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:43605:5) {
20 0.665 code: 'ERR_UNKNOWN_BUILTIN_MODULE'
20 0.665 }
20 0.665
20 0.665 Node.js v20.19.2
20 ERROR: process "/bin/sh -c pnpm install --frozen-lockfile" did not complete successfully: exit code: 1
------
> [base 8/12] RUN pnpm install --frozen-lockfile:
0.665 at __init (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:15:56)
0.665 at ../resolving/npm-resolver/lib/index.js (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:27558:5)
0.665 at __init (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:15:56)
0.665 at ../workspace/projects-graph/lib/index.js (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:27696:5)
0.665 at __init (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:15:56)
0.665 at ../workspace/projects-filter/lib/index.js (file:///usr/local/lib/node_modules/pnpm/dist/pnpm.mjs:43605:5) {
0.665 code: 'ERR_UNKNOWN_BUILTIN_MODULE'
0.665 }
0.665
0.665 Node.js v20.19.2
------
Dockerfile:76
--------------------
74 | ENV PATH=$PATH:/sio2/oioioi/node_modules/.bin
75 |
76 | >>> RUN pnpm install --frozen-lockfile
77 | RUN pnpm run build
78 |
This might be because nodejs 20 is used rather than 22.
The odd thing is that it only fails on certain commits
Logs from one of the runs that failed: