diff --git a/.github/workflows/api-multi-module-workflow.yml b/.github/workflows/api-multi-module-workflow.yml index 5f400cc..2f95dfd 100644 --- a/.github/workflows/api-multi-module-workflow.yml +++ b/.github/workflows/api-multi-module-workflow.yml @@ -24,11 +24,11 @@ on: required: true type: boolean IS_COPY_DOCKERFILE: - description: "Using for copy default dockerfile." + description: "Using for copy default dockerfile from https://github.com/ArbinaHQ/arbina-github-runner/tree/master/docker/api." required: true type: boolean IS_COPY_DOCKER_DIRECTORY: - description: "Using for copy default docker directory (entrypoint, cron, healthcheck)." + description: "Using for copy default docker directory (entrypoint, cron, healthcheck) from https://github.com/ArbinaHQ/arbina-github-runner/tree/master/docker/api." required: true type: boolean secrets: diff --git a/.github/workflows/api-single-module-workflow.yml b/.github/workflows/api-single-module-workflow.yml index af5e88d..b36af6f 100644 --- a/.github/workflows/api-single-module-workflow.yml +++ b/.github/workflows/api-single-module-workflow.yml @@ -20,11 +20,11 @@ on: required: true type: boolean IS_COPY_DOCKERFILE: - description: "Using for copy default dockerfile." + description: "Using for copy default dockerfile from https://github.com/ArbinaHQ/arbina-github-runner/tree/master/docker/api." required: true type: boolean IS_COPY_DOCKER_DIRECTORY: - description: "Using for copy default docker directory (entrypoint, cron, healthcheck)." + description: "Using for copy default docker directory (entrypoint, cron, healthcheck) from https://github.com/ArbinaHQ/arbina-github-runner/tree/master/docker/api." required: true type: boolean secrets: diff --git a/.github/workflows/ui-workflow.yml b/.github/workflows/ui-workflow.yml index 8739463..c3d7642 100644 --- a/.github/workflows/ui-workflow.yml +++ b/.github/workflows/ui-workflow.yml @@ -11,11 +11,16 @@ on: description: "Disable pushing to ECR. Default is true." required: true type: boolean + IS_BUILD_ENABLED: + description: "Enable building. Default is true." + required: false + type: boolean + default: true NODE_VERSION: - description: "Node version to setup. Default is 14." + description: "Node version to setup. Default is 16." required: false type: string - default: '14' + default: '16' secrets: SECRET_GH_TOKEN_CAN_READ_PACKAGES: required: true @@ -37,12 +42,14 @@ jobs: with: node-version: ${{ inputs.NODE_VERSION }} registry-url: 'https://npm.pkg.github.com' + scope: '@arbinahq' - run: (rm .npmrc || true) && npm install 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 }}