Add NPM_TOKEN support to node and test/npm actions #2

Merged
deac merged 1 commits from STAT-133 into main 2026-09-17 15:49:52 +00:00
1 Commits
Author SHA1 Message Date
deac 9df18983c3 STAT-133: Add NPM_TOKEN support to node and test/npm actions for private registry auth
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.
2026-09-17 11:48:24 -04:00