fix: use github actions for NPM publish
Some checks failed
Publish to NPM / Build and Publish to NPM (push) Failing after 14s

This commit is contained in:
Raul Lugo
2024-12-26 17:43:31 +01:00
parent b65dbeda0b
commit 56f1fb84f9

View File

@@ -49,8 +49,7 @@ jobs:
# 6. Publish to NPM
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd ${{ env.DIST_FOLDER }}
npm publish --access public
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: './dist'