Skip to content

Commit 72f8ceb

Browse files
jkebingerclaude
andcommitted
fix: make NPM_AUTH_TOKEN optional in .yarnrc.yml for local development
Use ${NPM_AUTH_TOKEN-} syntax to allow empty default when env var is not set. This enables local yarn install without the token while still working in CI/CD. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2413678 commit 72f8ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22
npmRegistryServer: 'https://registry.npmjs.org'
3-
npmAuthToken: '${NPM_AUTH_TOKEN}'
3+
npmAuthToken: '${NPM_AUTH_TOKEN-}'

0 commit comments

Comments
 (0)