-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (46 loc) · 1.39 KB
/
version.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Version
on:
workflow_dispatch:
inputs:
packages:
description: 'Selected packages as comma separated string, e.g. modules/storage-spec,libraries/formatting'
type: string
required: true
version-strategy:
type: choice
options:
- conventional-commits
- patch
- minor
- major
- prerelease
- prepatch
- preminor
- premajor
default: 'conventional-commits'
assignee:
description: 'Overrides the default assignee, which is the user to trigger this workflow.'
type: string
required: false
jobs:
version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ExodusMovement/actions/setup/lerna@65b395a82884455e8dc0cbc32355d8864f1ec30c
with:
npm-token: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: yarn install --immutable
- name: Prepare
run: yarn prepare
- name: Version
uses: ExodusMovement/lerna-release-action/version@f7bb33dbbd7a57206eea2fcb79d7fcc2a61bcbb9
with:
github-token: ${{ secrets.GH_AUTOMATION_PAT }}
packages: ${{ inputs.packages }}
assignee: ${{ inputs.assignee }}
version-strategy: ${{ inputs.version-strategy }}
auto-merge: true