Skip to content

Commit 946080f

Browse files
Fix release action
1 parent 1cb32e0 commit 946080f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
run: |
3333
git config user.name "github-actions[bot]"
3434
git config user.email "github-actions[bot]@users.noreply.github.com"
35+
- name: Setup npm config
36+
run: |
37+
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
38+
env:
39+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3540
- name: Install dependencies
3641
run: npm ci
3742
- name: Release package

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.npmrc
12
.idea/
23
.next/
34
.turbo/

0 commit comments

Comments
 (0)