Bump Version #3
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: | |
bump: | |
description: 'bump type: major, minor or patch' | |
default: '' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.10.0" | |
registry-url: https://registry.npmjs.org/ | |
- name: Bump version | |
run: yarn version ${{ github.event.inputs.bump }} |