Skip to content

Commit be07e3b

Browse files
committed
fix: publish issues
1 parent a210e59 commit be07e3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
with:
1818
node-version: '18'
1919
check-latest: true
20+
registry-url: 'https://registry.npmjs.org/'
2021

2122
- name: Install dependencies
2223
run: npm install

.npmrc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
- name: Publish to npm
2-
run: npm publish
3-
env:
4-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1+
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
2+
registry=https://registry.npmjs.org/
3+
always-auth=true

0 commit comments

Comments
 (0)