diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d1d1f29d..fe17a802 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -26,7 +26,9 @@ jobs: registry-url: https://registry.npmjs.org/ scope: '@mpth' - run: yarn - - run: npm publish + - run: | + npm version ${{ github.ref }} + npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}