Update config.yml

This commit is contained in:
Core 2022-03-17 10:55:10 +00:00 committed by GitHub
parent fb986fbb1f
commit 255b8401ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,11 +8,15 @@ jobs:
working_directory: ~/Cider working_directory: ~/Cider
docker: docker:
- image: circleci/node:16 - image: circleci/node:16
steps: steps:
- checkout - checkout
- run: - run:
name: Set App Version 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: - run:
name: Update Package Managers name: Update Package Managers
command: sudo npm update -g npm yarn command: sudo npm update -g npm yarn
@ -28,9 +32,6 @@ jobs:
key: yarn-packages-{{ checksum "cider-yarn.lock" }} key: yarn-packages-{{ checksum "cider-yarn.lock" }}
paths: paths:
- ~/.cache/yarn - ~/.cache/yarn
- run:
name: Get App Version
command: echo $APP_VERSION
- run: - run:
name: Install system build dependencies name: Install system build dependencies
command: | command: |