npm ci
fails with 403 Forbidden on GitHub Actions
#1268
Labels
npm ci
fails with 403 Forbidden on GitHub Actions
#1268
Description:
Since a couple of hours ago, my GitHub Actions workflow started failing during the
npm ci
step on Ubuntu runners. The same setup was working previously, and locally everything still installs fine. The error is:Even though I’ve configured
registry-url: https://npm.pkg.github.com
, it still tries to fetch fromregistry.npmjs.org
. I’ve attempted overriding the registry URL manually too, but it didn't help. Am I missing something?Action version:
actions/setup-node@v4
Platform:
Runner type:
Tools version:
npm@10.x
)Repro steps:
main
or open a PR on [stoprocent/bleno](https://github.com/stoprocent/bleno/actions)npm ci
camelcase
)Expected behavior:
npm ci
should complete successfully using either npmjs or GitHub registry (depending on package source)Actual behavior:
npm ci
fails with a 403 Forbidden fromregistry.npmjs.org
, despiteregistry-url
being set tohttps://npm.pkg.github.com
.Error log:
Thanks in advance for any insights or help!
The text was updated successfully, but these errors were encountered: