Skip to content

Commit c89cc3d

Browse files
authored
Update npm-publish-package.yml
1 parent bd04ea9 commit c89cc3d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/npm-publish-package.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
node-version: "14.x"
1919
registry-url: "https://registry.npmjs.org"
2020
scope: "@modifiedcommand"
21-
- run: yarn publish --access public
21+
- name: Publish
22+
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc && yarn publish --access public
2223
env:
23-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
24+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)