Skip to content

Commit 859429c

Browse files
committed
Fix NPM auth (hopefully)
1 parent 34def97 commit 859429c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
git config user.name "${GITHUB_ACTOR}"
2020
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
2121
- run: npm ci
22+
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
2223
- run: npm run release -- ${{ github.event.inputs.increment }} --ci
2324
env:
2425
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ lib
44
bundle.js
55
example*.css.d.ts
66
*.log
7+
.npmrc

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
1+
//registry.npmjs.org/:_authToken=

0 commit comments

Comments
 (0)