From a0686931626f0495b15c4808cee46d3faa9508fa Mon Sep 17 00:00:00 2001 From: Alexey Grigorkin Date: Tue, 12 Apr 2022 19:33:51 +0300 Subject: [PATCH] Update ui-workflow.yml --- .github/workflows/ui-workflow.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ui-workflow.yml b/.github/workflows/ui-workflow.yml index 9203db2..de7720e 100644 --- a/.github/workflows/ui-workflow.yml +++ b/.github/workflows/ui-workflow.yml @@ -11,6 +11,11 @@ on: description: "Disable pushing to ECR. Default is true." required: true type: boolean + NODE_VERSION: + description: "Node version to setup. Default is 14." + required: true + type: string + default: '14' secrets: SECRET_GH_TOKEN_CAN_READ_PACKAGES: required: true @@ -30,7 +35,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '14' + node-version: ${{ inputs.NODE_VERSION }} registry-url: 'https://npm.pkg.github.com' - run: (rm .npmrc || true) && npm install