Skip to content

Commit 35aaca2

Browse files
authored
Merge pull request #3 from sellpy/fix/publish-workflows
fix: publish to npm workflow files
2 parents f8c1607 + 11229ca commit 35aaca2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ jobs:
2020
- name: Pack package
2121
run: yarn pack
2222

23-
- name: Write authtoken
23+
- name: Auth with npm
2424
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTOMATION_TOKEN }}" > ~/.npmrc
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
2527

2628
- name: Publish package
27-
run: yarn npm publish --access public
29+
run: npm publish --access public
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}

0 commit comments

Comments
 (0)