The package sign-in in .npmrc is ${FORGEJO_PACKAGES_TOKEN} #159

Merged
merge-queue merged 1 commit from PIPT-32-npmrc-token-form into main 2026-11-18 01:13:33 -08:00
Owner

Fixes my own romaine-life/pipeline-templates#157: its docs told repositories to write the package sign-in as ${FORGEJO_PACKAGES_TOKEN?}, which npm 10 (in the Node 20 and 22 images CI builds with) sends literally, so every CI install got 401. The docs, the code comment and the test fixture now use ${FORGEJO_PACKAGES_TOKEN}, which npm 10 and 11 both read; unset, other npm commands still work. Checked with npm 10.9.9 and 11.12.1 against Forgejo. https://openproject.home.romaine.life/wp/PIPT-32

Fixes my own romaine-life/pipeline-templates#157: its docs told repositories to write the package sign-in as `${FORGEJO_PACKAGES_TOKEN?}`, which npm 10 (in the Node 20 and 22 images CI builds with) sends literally, so every CI install got 401. The docs, the code comment and the test fixture now use `${FORGEJO_PACKAGES_TOKEN}`, which npm 10 and 11 both read; unset, other npm commands still work. Checked with npm 10.9.9 and 11.12.1 against Forgejo. https://openproject.home.romaine.life/wp/PIPT-32
The package sign-in in .npmrc is ${FORGEJO_PACKAGES_TOKEN}, which npm 10 reads too (PIPT-32)
All checks were successful
Fleet / align (pull_request) Successful in 6s
CI / changes (pull_request) Successful in 8s
CI / actionlint (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / release-version (pull_request) Has been skipped
CI / check-versions (pull_request) Has been skipped
CI / check-fetches (pull_request) Has been skipped
CI / check-image-digests (pull_request) Has been skipped
CI / cached-images (pull_request) Has been skipped
CI / container-health (pull_request) Has been skipped
CI / azure-cli (pull_request) Has been skipped
CI / home-cache-linux (pull_request) Has been skipped
CI / home-cache-windows (pull_request) Has been skipped
Suite default / scope (pull_request) Successful in 13s
Suite default / check-fetches (pull_request) Has been skipped
CI / service-runtime (two) (pull_request) Successful in 19s
CI / service-runtime (one) (pull_request) Successful in 23s
CI / service-cancellation (pull_request) Successful in 29s
Suite default / check-rules (pull_request) Successful in 16s
CI / suite-tests-linux (pull_request) Successful in 22s
Suite default / reused-checks (pull_request) Successful in 14s
CI / suite-tests-windows (pull_request) Successful in 1m7s
CI / setup-linux (nas) (pull_request) Successful in 1m57s
CI / setup-windows (pull_request) Successful in 3m19s
merge-queue landed on main
443e308030
merge-queue deleted branch PIPT-32-npmrc-token-form 2026-11-18 01:13:33 -08:00
Sign in to join this conversation.
No description provided.