Bump version #43
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
name: Bump version | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: "Type of version to bump" | |
required: true | |
type: choice | |
options: | |
- major | |
- minor | |
- patch | |
jobs: | |
bump-version: | |
name: Bump version | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{ secrets.DEPLOY_KEY }} | |
- uses: oven-sh/setup-bun@v2 | |
- run: bun install --frozen-lockfile | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- run: | | |
git config user.name 'Sergio Xalambrí' | |
git config user.email 'hello@sergiodxa.com' | |
- run: npm version ${{ github.event.inputs.version }} | |
- run: bun run quality:fix | |
- run: git push origin main --follow-tags |