Skip to content

Commit

Permalink
feat: add routine Update Package Version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalan7 committed Jun 16, 2023
1 parent 367271f commit f3160b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
PUPPETEER_SKIP_DOWNLOAD: true

- name: Update Package Version
run: |
npm version patch --no-git-tag-version
echo "::set-env name=PACKAGE_VERSION::$(node -p "require('./package.json').version")"
- name: Publish to npm
run: npm publish
env:
Expand Down

0 comments on commit f3160b1

Please sign in to comment.