Skip to content

Commit 6d5eb52

Browse files
committed
Use YARN_NPM_AUTH_TOKEN instead
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 101f980 commit 6d5eb52

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/version-or-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
publish: yarn npm publish --tolerate-republish
3939
env:
4040
GITHUB_TOKEN: ${{ github.token }}
41-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.yarnrc.yml

-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@ defaultSemverRangePrefix: ""
22

33
nodeLinker: node-modules
44

5-
npmRegistries:
6-
//registry.npmjs.org:
7-
npmAuthToken: "${NPM_TOKEN:-''}"
8-
95
preferInteractive: true

0 commit comments

Comments
 (0)