Version #21
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: Version | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'Next Version' | |
required: true | |
jobs: | |
Version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
ssh-key: ${{ secrets.COMMIT_KEY }} | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
run_install: false | |
- name: Setup Node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: '20' | |
- name: Version | |
run: | | |
git config user.name mergewhether | |
git config user.email [email protected] | |
pnpm version --new-version ${{ github.event.inputs.version }} | |
git push --follow-tags |