Update ui-workflow.yml

This commit is contained in:
Alexey Grigorkin
2022-05-08 11:11:26 +03:00
committed by GitHub
parent 4ac1acbb22
commit 2d6e8f8976

View File

@@ -11,6 +11,10 @@ on:
description: "Disable pushing to ECR. Default is true."
required: true
type: boolean
IS_BUILD_ENABLED:
description: "Enable building. Default is true."
required: true
type: boolean
NODE_VERSION:
description: "Node version to setup. Default is 14."
required: false
@@ -42,7 +46,8 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.SECRET_GH_TOKEN_CAN_READ_PACKAGES }}
- run: npm run build
- run: npm run build
if: ${{ inputs.IS_BUILD_ENABLED }}
- name: Login to ECR
if: ${{ inputs.IS_ECR_PUSH_ENABLED }}