Skip to content

Commit c90d1cb

Browse files
committed
fix the publish to NPM step
1 parent 155784a commit c90d1cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353
github_token: ${{ secrets.GITHUB_TOKEN }}
5454

5555
- name: Publish to NPM
56-
run: npm publish
57-
env:
58-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
56+
uses: JS-DevTools/npm-publish@18351461ae08dde235c0ccee0633ec905f0b9a52
57+
with:
58+
token: ${{ secrets.NPM_TOKEN }}
5959

6060
# blocked by https://github.com/anantaramdas/ipfs-pinata-deploy-action/issues/3
6161
# - name: Pin to IPFS

0 commit comments

Comments
 (0)