From 255b8401eee68a45339723cfdaba5bc0e61704a4 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Thu, 17 Mar 2022 10:55:10 +0000 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a550c83..2e04f74f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,11 +8,15 @@ jobs: working_directory: ~/Cider docker: - image: circleci/node:16 + steps: - checkout - run: name: Set App Version - command: echo $(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1) + command: echo "export APP_VERSION=$(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1)" >> $BASH_ENV + - run: + name: Get App Version + command: echo $APP_VERSION - run: name: Update Package Managers command: sudo npm update -g npm yarn @@ -28,9 +32,6 @@ jobs: key: yarn-packages-{{ checksum "cider-yarn.lock" }} paths: - ~/.cache/yarn - - run: - name: Get App Version - command: echo $APP_VERSION - run: name: Install system build dependencies command: |