diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 2abbdf4..c5125f5 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -18,8 +18,9 @@ jobs: - name: Publish to NPM env: NODE_AUTH_TOKEN: ${{ secrets.HYVOR_ORG_NPM_TOKEN }} + VERSION: ${{ github.ref_name }} run: | npm ci npm run package - npm version ${{ github.ref_name }} + npm version $VERSION npm publish