Skip to content

Commit 344dfd3

Browse files
committed
chore: added configurenpm
1 parent e5aefc3 commit 344dfd3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
node-version: '20'
2828
registry-url: 'https://registry.npmjs.org'
2929

30+
- name: Configure npm
31+
run: |
32+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
33+
env:
34+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
3036
- name: Install dependencies
3137
run: npm install
3238

0 commit comments

Comments
 (0)