Skip to content

Commit

Permalink
refactor: version auto increment test [WTEL-5567] (https://webitel.at…
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirBeria committed Nov 20, 2024
1 parent fb339e6 commit 03a74d8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc

# Bump the patch version
- name: Bump patch version
run: npm version patch --no-git-tag-version

# Commit the version bump
- name: Commit version bump
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add package.json package-lock.json
git commit -m "chore: bump patch version [skip ci]"
git push
# Publish to npm
- name: Publish to npm
run: npm run publish-styleguide
Expand Down

0 comments on commit 03a74d8

Please sign in to comment.