Skip to content

Version

Version #17

Workflow file for this run

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@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