Skip to content

ci: fix npm publish job broken by npm 12's Node engine requirement - #124

Merged
rbuchmayer-pplx merged 1 commit into
perplexityai:mainfrom
rbuchmayer-pplx:fix-publish-node-version
Jul 27, 2026
Merged

ci: fix npm publish job broken by npm 12's Node engine requirement#124
rbuchmayer-pplx merged 1 commit into
perplexityai:mainfrom
rbuchmayer-pplx:fix-publish-node-version

Conversation

@rbuchmayer-pplx

Copy link
Copy Markdown
Collaborator

The publish workflow failed before publishing anything: the "Get latest npm" step installs npm@latest, and npm 12 now requires Node >= 22 while the job runs Node 20.

  • Bumps the publish job to Node 24
  • Pins the npm upgrade to the 12.x major so a future npm engine-floor bump cannot break releases again
  • Keeps the npm upgrade step since trusted publishing (OIDC) requires npm >= 11.5, newer than Node's bundled npm

No package code changes. After merge, the 1.0.0 release can be retried via workflow_dispatch.

npm@latest (12.x) now requires Node >= 22, so the publish job's npm
upgrade step fails on Node 20 before publishing. Bump the job to Node 24
and pin the npm upgrade to the 12.x major so future engine-floor bumps
in npm cannot break the release path again. The npm upgrade step stays:
trusted publishing (OIDC) requires npm >= 11.5, newer than Node's
bundled npm.
@rbuchmayer-pplx
rbuchmayer-pplx marked this pull request as ready for review July 27, 2026 17:50
@rbuchmayer-pplx
rbuchmayer-pplx merged commit f3f238a into perplexityai:main Jul 27, 2026
1 check passed
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