Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ParvishGajjar committed Dec 27, 2023
1 parent eb9c99a commit 74979d3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ jobs:
with:
node-version: 16

set-version:
needs: build
runs-on: ubuntu-latest
steps:
- name: Extract Release Version
id: extract_version
run: echo "RELEASE_VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
- name: Set Version in package.json
run: npm version $RELEASE_VERSION

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 74979d3

Please sign in to comment.