Skip to content

Commit 444508c

Browse files
authored
fix(ci): fix publish (#27)
1 parent 6a4d75d commit 444508c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
node-version-file: .nvmrc
2121
cache: npm
22+
registry-url: https://registry.npmjs.org
2223

2324
- name: Install dependencies
2425
run: npm ci --ignore-scripts
@@ -27,6 +28,6 @@ jobs:
2728
run: npm run test
2829

2930
- name: Publish package
30-
run: npm publish --access public
31+
run: npm login && npm publish --access public
3132
env:
3233
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)