Skip to content

Commit af3915c

Browse files
committed
GitHub Actions fixes 5
1 parent 17c49e3 commit af3915c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/publishPackage.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,17 @@ jobs:
5858
path: typings
5959

6060
- name: Publish on NPM
61-
run: npm publish --access=public --registry=https://registry.npmjs.org --token=${{ secrets.NPM_TOKEN }}
61+
uses: JS-DevTools/[email protected]
62+
with:
63+
access: public
64+
registry: https://registry.npmjs.org/
65+
token: ${{ secrets.NPM_TOKEN }}
66+
check-version: false
6267

63-
- name: Publish on NPM
64-
run: npm publish --access=public --registry=https://npm.pkg.github.com --token=${{ secrets.GITHUB_TOKEN }}
68+
- name: Publish on GitHub Packages
69+
uses: JS-DevTools/[email protected]
70+
with:
71+
access: public
72+
registry: https://npm.pkg.github.com/
73+
token: ${{ secrets.GITHUB_TOKEN }}
74+
check-version: false

0 commit comments

Comments
 (0)