Fixes CI failures (E401) when a consuming repo installs a private @stat-tackler npm package, since node@v1 and test/npm@v1 never authenticated against the private Gitea registry.
Changes
Add an optional NPM_TOKEN input to node and test/npm composite actions
When set, writes .npmrc scoping @stat-tackler to the private registry before npm ci
No-op for existing consumers that do not pass the input
Test Plan
stat-tackler-scorekeeper PR (STAT-133) passes its Node Build/Test Check using this branch, confirming npm ci authenticates against the private registry
Fixes CI failures (E401) when a consuming repo installs a private @stat-tackler npm package, since node@v1 and test/npm@v1 never authenticated against the private Gitea registry.
## Changes
- Add an optional NPM_TOKEN input to node and test/npm composite actions
- When set, writes .npmrc scoping @stat-tackler to the private registry before npm ci
- No-op for existing consumers that do not pass the input
## Test Plan
- [ ] stat-tackler-scorekeeper PR (STAT-133) passes its Node Build/Test Check using this branch, confirming npm ci authenticates against the private registry
npm ci fails with E401 when a consuming repo's package-lock.json pins a
package to the private Gitea npm registry, since these composite actions
never write an .npmrc or set a registry auth token. Add an optional
NPM_TOKEN input that writes .npmrc before install; existing consumers that
don't pass it are unaffected.
deac
merged commit 53165c2d53 into main2026-09-17 15:49:52 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes CI failures (E401) when a consuming repo installs a private @stat-tackler npm package, since node@v1 and test/npm@v1 never authenticated against the private Gitea registry.
Changes
Test Plan