Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 423a963

Browse files
committed
Fix npmrc env variable name
[changelog:fixed]
1 parent e3a8c58 commit 423a963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/events.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ const PrepareStep: NpmStep = {
138138
(ctx.data as subscription.types.OnTagSubscription).Tag?.[0]?.commit;
139139
// copy creds
140140
const npmRc = path.join(os.homedir(), ".npmrc");
141-
if (process.env.NPM_NPMJS_CREDENTIALS) {
142-
await fs.copyFile(process.env.NPM_NPMJS_CREDENTIALS, npmRc);
141+
if (process.env.ATOMIST_NPMRC) {
142+
await fs.copyFile(process.env.ATOMIST_NPMRC, npmRc);
143143
}
144144

145145
// raise the check

0 commit comments

Comments
 (0)