Skip to content

Commit b0fe8dd

Browse files
author
Marco Crespi
committed
chore: Fix github workflow
1 parent 05e9df8 commit b0fe8dd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,15 @@ jobs:
3939
- uses: actions/setup-node@v1
4040
with:
4141
node-version: 14
42-
registry-url: https://npm.pkg.github.com/
42+
registry-url: https://registry.npmjs.org
4343
- run: npm ci
44+
- run: npm publish --access public
45+
env:
46+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
47+
- uses: actions/setup-node@v1
48+
with:
49+
node-version: 14
50+
registry-url: https://npm.pkg.github.com/
4451
- run: npm publish
4552
env:
4653
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)