diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 87979cd..d605660 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -29,16 +29,16 @@ jobs: cache: 'npm' - run: npm i - run: npm run build --if-present - - name: get-npm-version - id: package-version - uses: martinbeentjes/npm-get-version-action@v1.3.1 + - name: Extract version + id: extract_version + uses: Saionaro/extract-package-version@v1.2.1 - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ steps.package-version.outputs.current-version }} + tag_name: ${{ steps.get-version.outputs.version }} release_name: Release ${{ github.ref }} draft: false prerelease: false