diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index 0b8edfa..6881ad8 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -1,4 +1,4 @@ -name: Node.js Package +name: Node.js Package for Github on: workflow_dispatch: release: diff --git a/.github/workflows/npm-publish-packages.yml b/.github/workflows/npm-publish-packages.yml index 0b8edfa..e013c1d 100644 --- a/.github/workflows/npm-publish-packages.yml +++ b/.github/workflows/npm-publish-packages.yml @@ -1,4 +1,4 @@ -name: Node.js Package +name: Node.js Package for NPM on: workflow_dispatch: release: @@ -29,9 +29,7 @@ jobs: with: node-version: 16 registry-url: https://npm.pkg.github.com/ - - run: yarn publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITH_PACKAGE_TOKEN}} - uses: JS-DevTools/npm-publish@v3 with: + registry: "https://registry.npmjs.org/" token: ${{ secrets.NPM_TOKEN }} \ No newline at end of file