Skip to content

Commit b311880

Browse files
committed
ci: Add .npmrc
1 parent ecb6d15 commit b311880

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
with:
3030
node-version: 12
3131
registry-url: https://registry.npmjs.org/
32-
- run: npx semantic-release
32+
- run: |
33+
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
34+
npx semantic-release
3335
env:
3436
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3537
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)