From 30d30745cfcdfd3fbc777bddca2cf25c3bd5943c Mon Sep 17 00:00:00 2001 From: Artyom <33422161+WooDeNDark@users.noreply.github.com> Date: Tue, 17 Jan 2023 15:01:04 +0300 Subject: [PATCH] Fix naming --- .github/workflows/ui-workflow.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ui-workflow.yml b/.github/workflows/ui-workflow.yml index e00896f..e3cd026 100644 --- a/.github/workflows/ui-workflow.yml +++ b/.github/workflows/ui-workflow.yml @@ -43,14 +43,17 @@ jobs: node-version: ${{ inputs.NODE_VERSION }} registry-url: 'https://npm.pkg.github.com' scope: '@arbinahq' + + - name: Add envs + run: echo IMAGE_TAG=${{ secrets.SECRET_IMAGE_TAG }} >> .env - - run: (rm .npmrc || true) && npm install + - name: NPM install packages + run: (rm .npmrc || true) && npm install env: NODE_AUTH_TOKEN: ${{ secrets.SECRET_GH_TOKEN_CAN_READ_PACKAGES }} - - - run: echo IMAGE_TAG=${{ secrets.SECRET_IMAGE_TAG }} >> .env - - - run: npm run build + + - name: NPM build + run: npm run build if: ${{ inputs.IS_BUILD_ENABLED }} - name: Login to ECR