diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 65a68eb..30785c0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,6 +18,7 @@ jobs: registry-url: https://registry.npmjs.org/ - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - run: npm --no-git-tag-version version ${{ env.RELEASE_VERSION }} - run: npm ci - run: npm publish --access=public env: