Skip to content

⚡ Version bump

⚡ Version bump #47

Workflow file for this run

name: ⚡ Version bump
on:
workflow_run:
workflows: ['⚡ Coverage badges generation']
types:
- completed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
version-bump:
name: 🆕 Version bump
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📦 Setup bun
uses: oven-sh/setup-bun@v2
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
registry-url: 'https://registry.npmjs.org'
cache-dependency-path: ./package.json
- name: 📥 Install deps
run: bun install --frozen-lockfile
- name: ⏫ Bump package version
id: bumping-version
uses: ./
with:
debug: true
major-keywords: BREAKING CHANGE
minor-keywords: feat,minor
patch-keywords: fix,chore
should-default-to-patch: true
commit-user: jpb06
commit-user-email: [email protected]
- name: Display action output
run: |
echo "Bump performed: ${{ steps.bumping-version.outputs.bump-performed }}"
echo "New version: ${{ steps.bumping-version.outputs.new-version }}"