Skip to content

Commit 74e6153

Browse files
authored
npm auth token
1 parent 5619c67 commit 74e6153

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
run: npm test
3333
- name: Run Build
3434
run: npm run build
35+
- name: Create NPMRC
36+
run: echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} > .npmrc
37+
env:
38+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3539
- name: Publish
3640
run: npm publish --access public
3741
env:

0 commit comments

Comments
 (0)