Skip to content

Commit 3bae927

Browse files
authored
Fix missing GITHUB_TOKEN in publish stage (#1046)
1 parent 4845e9f commit 3bae927

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ jobs:
109109
shell: bash
110110
run: npm run artifacts
111111

112-
- uses: JS-DevTools/npm-publish@v1
113-
with:
114-
token: ${{ secrets.NPM_TOKEN }}
112+
- name: Publish
113+
run: |
114+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
115+
npm publish
116+
env:
115117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)