Skip to content

Commit

Permalink
chore: Make publishing the UI to NPM optional (#3559)
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <[email protected]>
  • Loading branch information
achals authored Mar 24, 2023
1 parent f5c48bf commit 7e99ccc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
required: true
default: ""
type: string
publish_ui:
description: 'Publish to NPM?'
required: true
default: true
type: boolean

jobs:

Expand Down Expand Up @@ -110,7 +115,7 @@ jobs:
working-directory: ./ui
run: yarn build:lib
- name: Publish UI package
if: github.event.inputs.dry_run == 'false'
if: github.event.inputs.publish_ui == 'true'
working-directory: ./ui
run: npm publish
env:
Expand Down

0 comments on commit 7e99ccc

Please sign in to comment.