[DevEx]: components name instance in pascalcase #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: | |
- main | |
types: [closed] | |
jobs: | |
bump-version: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_PUSH_TOKEN }} | |
- name: configure git | |
run: | | |
git remote set-url origin https://[email protected]/cuttle-cards/cuttle | |
git config --global user.name "Cuttle Continuous Integration" | |
git config --global user.email "[email protected]" | |
- name: bump patch version | |
if: contains(github.event.pull_request.labels.*.name, 'version-patch') | |
run: npm run version:patch | |
- name: bump minor version | |
if: contains(github.event.pull_request.labels.*.name, 'version-minor') | |
run: npm run version:minor | |
- name: bump major version | |
if: contains(github.event.pull_request.labels.*.name, 'version-major') | |
run: npm run version:major | |
- name: push | |
run: git push origin main |