Skip to content

Commit

Permalink
NPM publish
Browse files Browse the repository at this point in the history
  • Loading branch information
juanvillacortac committed Mar 24, 2022
1 parent 5b9eda1 commit af01e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- name: Check version
run: echo "Version ${{ steps.vars.outputs.tag }}"
run: echo "Version ${{ github.event.client_payload.new-tag }}"

- name: Use Node.js 16
uses: actions/setup-node@v1
Expand All @@ -53,7 +53,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Bump NPM version
run: npm --no-git-tag-version --allow-same-version version ${{ steps.vars.outputs.tag }}
run: npm --no-git-tag-version --allow-same-version version ${{ github.event.client_payload.new-tag }}

- name: NPM publish
run: npm publish --access public
Expand Down

0 comments on commit af01e06

Please sign in to comment.