Skip to content

Bump version

Bump version #16

Workflow file for this run

# release package
name: Bump version
on:
workflow_dispatch:
inputs:
bump:
description: 'bump version by major, minor or patch'
required: true
options:
- 'patch'
- 'minor'
- 'major'
default: 'patch'
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app_id: ${{ secrets.PREEVY_AUTOMATION_APP_ID }}
private_key: ${{ secrets.PREEVY_AUTOMATION_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: yarn
- run: yarn
- run: yarn build
-
run: |
git config --global user.name 'Preevy Automation'
git config --global user.email '[email protected]'
- run: yarn lerna version ${{ github.event.inputs.bump }} --exact --yes