Skip to content

⚡ Version bump

⚡ Version bump #41

Workflow file for this run

name: ⚡ Version bump
on:
workflow_run:
workflows: ['⚡ Coverage badges generation']
types:
- completed
jobs:
version-bump:
name: 🆕 Version bump
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📦 Setup pnpm
uses: pnpm/action-setup@v3
with:
version: latest
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
cache-dependency-path: ./package.json
- name: 📥 Install deps
run: pnpm 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: jpb.06@outlook.com