From dd042a65e6c9bd9b8f58b526613249f9187291e3 Mon Sep 17 00:00:00 2001 From: Christian Bromann Date: Thu, 8 Sep 2022 13:05:48 +0200 Subject: [PATCH] make release type a choice input --- .github/workflows/npm-publish.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index b960d189..4e2d2040 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -4,9 +4,14 @@ on: workflow_dispatch: inputs: releaseType: - description: 'Release type - major, minor or patch' + description: "Release Type" required: true - default: 'patch' + type: choice + default: "patch" + options: + - patch + - minor + - major env: NPM_TOKEN: ${{secrets.NPM_TOKEN}}