-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (36 loc) · 992 Bytes
/
release.yml
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
name: ⚠️ Release
on:
push:
branches:
- main
paths:
- libs/ng-morph/**
workflow_dispatch:
inputs:
forcePush:
type: boolean
required: false
description: --force-publish package
mode:
type: choice
description: force package to be versioned (depend --force-publish)
required: false
default: minor
options:
- patch
- minor
- major
- prepatch
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'chore(release)')"
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/run/[email protected]
with:
ref: ${{ github.ref }}
githubToken: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
npmToken: ${{ secrets.NPM_TOKEN }}
forcePush: ${{ github.event.inputs.forcePush }}
mode: ${{ github.event.inputs.mode }}