Commit 26b2719
authored
fix: pin Node to 22.22.1 (#1052)
## Description
<!-- Provide a concise and descriptive summary of the changes
implemented in this PR. -->
### Introduces a breaking change?
- [ ] Yes
- [x] No
### Type of change
- [x] Bug fix (change which fixes an issue)
- [ ] New feature (change which adds functionality)
- [ ] Documentation update (improves or adds clarity to existing
documentation)
- [ ] Other (chores, tests, code style improvements etc.)
### Tested on
Tested on clean environment using docker.
npm install with node:22.22.1 - ✅ no errors
```
% docker run --rm node:22.22.1 bash -lc 'node -v && npm -v && npm install -g npm@latest && npm -v'
Unable to find image 'node:22.22.1' locally
22.22.1: Pulling from library/node
704e2962b501: Pull complete
fac439a539b3: Pull complete
daa7b0f47ec6: Pull complete
efbce225727d: Pull complete
bda59add4421: Pull complete
2ea98bb5eec9: Pull complete
5a8feb033ce1: Pull complete
130e3ae39ac6: Pull complete
2b092ae96dcf: Download complete
9823b34549b2: Download complete
Digest: sha256:f90672bf4c76dfc077d17be4c115b1ae7731d2e8558b457d86bca42aeb193866
Status: Downloaded newer image for node:22.22.1
v22.22.1
10.9.4
removed 73 packages, and changed 104 packages in 3s
15 packages are looking for funding
run `npm fund` for details
11.12.1
```
npm install with node:22:22:2 - ❌ Cannot find module 'promise-retry'
```
docker run --rm node:22.22.2 bash -lc 'node -v && npm -v && npm install -g npm@latest && npm -v'
Unable to find image 'node:22.22.2' locally
22.22.2: Pulling from library/node
884e422126c0: Pull complete
cf1fb09d618c: Pull complete
5f8e4db84e7c: Pull complete
c4d26b38bac8: Pull complete
8da0d7dd9c77: Download complete
22910a555154: Download complete
Digest: sha256:7e791fc54bd02fc89fd4fb39eb37e5bea753c75679c8022478d81679367d995a
Status: Downloaded newer image for node:22.22.2
v22.22.2
10.9.7
npm error code MODULE_NOT_FOUND
npm error Cannot find module 'promise-retry'
npm error Require stack:
npm error - /usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js
npm error - /usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/index.js
npm error - /usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/index.js
npm error - /usr/local/lib/node_modules/npm/node_modules/libnpmfund/lib/index.js
npm error - /usr/local/lib/node_modules/npm/lib/utils/reify-output.js
npm error - /usr/local/lib/node_modules/npm/lib/utils/reify-finish.js
npm error - /usr/local/lib/node_modules/npm/lib/commands/install.js
npm error - /usr/local/lib/node_modules/npm/lib/npm.js
npm error - /usr/local/lib/node_modules/npm/lib/cli/entry.js
npm error - /usr/local/lib/node_modules/npm/lib/cli.js
npm error - /usr/local/lib/node_modules/npm/bin/npm-cli.js
npm error A complete log of this run can be found in: /root/.npm/_logs/2026-04-02T20_25_21_495Z-debug-0.log
```
- [ ] iOS
- [ ] Android
### Testing instructions
Verify the next scheduled run or trigger job manually
<!-- Provide step-by-step instructions on how to test your changes.
Include setup details if necessary. -->
### Screenshots
<!-- Add screenshots here, if applicable -->
### Related issues
<!-- Link related issues here using #issue-number -->
### Checklist
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly
- [ ] My changes generate no new warnings
### Additional notes
<!-- Include any additional information, assumptions, or context that
reviewers might need to understand this PR. -->1 parent ad6ce08 commit 26b2719
File tree
3 files changed
+3
-3
lines changed- .github/workflows
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments