Update ui-workflow.yml
This commit is contained in:
7
.github/workflows/ui-workflow.yml
vendored
7
.github/workflows/ui-workflow.yml
vendored
@@ -11,6 +11,11 @@ on:
|
|||||||
description: "Disable pushing to ECR. Default is true."
|
description: "Disable pushing to ECR. Default is true."
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
NODE_VERSION:
|
||||||
|
description: "Node version to setup. Default is 14."
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: '14'
|
||||||
secrets:
|
secrets:
|
||||||
SECRET_GH_TOKEN_CAN_READ_PACKAGES:
|
SECRET_GH_TOKEN_CAN_READ_PACKAGES:
|
||||||
required: true
|
required: true
|
||||||
@@ -30,7 +35,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: ${{ inputs.NODE_VERSION }}
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
|
|
||||||
- run: (rm .npmrc || true) && npm install
|
- run: (rm .npmrc || true) && npm install
|
||||||
|
|||||||
Reference in New Issue
Block a user