Skip to content

Refactor/migrate to typescript only #108

Refactor/migrate to typescript only

Refactor/migrate to typescript only #108

Workflow file for this run

name: release
on:
workflow_dispatch:
inputs:
semver:
description: "The semver to use"
required: true
default: "patch"
type: choice
options:
- patch
- minor
- major
tag:
description: "The npm tag"
required: false
default: "latest"
commit-message:
description: "The commit message template"
required: false
default: "chore(release): {version}"
pull_request:
types: [closed]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: nearform/optic-release-automation-action@v4
with:
github-token: ${{ secrets.github_token }}
npm-token: ${{ secrets.NPM_TOKEN }}
commit-message: ${{ github.event.inputs.commit-message }}
semver: ${{ github.event.inputs.semver }}
npm-tag: ${{ github.event.inputs.tag }}
build-command: npm i