Skip to content

Commit 78bee77

Browse files
authored
fix: use NPM_CONFIG_USERCONFIG env var for Artifactory auth (#21)
1 parent 06aadea commit 78bee77

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ jobs:
3737
output-modes: npm
3838

3939
- name: Publish to Artifactory npm-public
40-
run: npm publish --userconfig=./.npmrc-public --@lexicographic:registry="https://packages.atlassian.com/api/npm/npm-public/"
40+
run: npm publish
41+
env:
42+
NPM_CONFIG_USERCONFIG: ${{ github.workspace }}/.npmrc-public

0 commit comments

Comments
 (0)