axe-core icon indicating copy to clipboard operation
axe-core copied to clipboard

ci(deploy): install npm version 11

Open Garbee opened this issue 1 month ago • 1 comments

The other part that I forgot with deploy. We run on Node 22 by the .nvmrc version, which uses npm@10 as the default version. To use OIDC publishing at all, npm must be at 11.5.1 or higher. So dual combo of the token being off before combined with this version issue is why deployment was failing.

Closes: #4912

Garbee avatar Nov 27 '25 13:11 Garbee

I'm inclined to say we update our .nvm file to use node 24. It only enforces the development version of node so if we need node 24 to publish then we should update to it.

I agree that I prefer keeping development/testing/publishing on the same versions of package management if possible, and the easiest way to encourage that for local development is to use .nvmrc for it.

That said, if you encounter any issues at all with bumping .nvmrc to 24, I'm also fine with installing npm 11 separately in the short term to get OIDC publishing unblocked.

dbjorge avatar Dec 02 '25 17:12 dbjorge

So, #4960 supersedes this and gets our node version bumped up.

Garbee avatar Dec 11 '25 14:12 Garbee