Skip to content

ci: bump _workflows to v6 and pin node to 22.22.1#640

Merged
chcmedeiros merged 1 commit intomainfrom
fix/ci-publish
Apr 29, 2026
Merged

ci: bump _workflows to v6 and pin node to 22.22.1#640
chcmedeiros merged 1 commit intomainfrom
fix/ci-publish

Conversation

@chcmedeiros
Copy link
Copy Markdown
Collaborator

@chcmedeiros chcmedeiros commented Apr 29, 2026

Summary

The Publish NPM Package workflow fails at the npm install -g npm@latest step inside _publish-npm.yaml with:

npm error Cannot find module 'promise-retry'
npm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js

- Bump _publish-npm.yaml and _checks-ts.yaml from v5 to v6
  (supersedes #630 and #631).
- Pin node_version to 22.22.1 to avoid broken bundled npm 10.9.7
  in Node 22.22.2's toolcache, which fails publish with
  `Cannot find module 'promise-retry'`. 22.22.1 ships npm 10.9.4.
@chcmedeiros chcmedeiros merged commit c9bab22 into main Apr 29, 2026
3 checks passed
@chcmedeiros chcmedeiros deleted the fix/ci-publish branch April 29, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant