Update config.yml

This commit is contained in:
Core 2022-03-17 10:46:44 +00:00 committed by GitHub
parent 0ed6130db6
commit 09715fd704
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,10 +8,11 @@ jobs:
working_directory: ~/Cider working_directory: ~/Cider
docker: docker:
- image: circleci/node:16 - image: circleci/node:16
environment:
APP_VERSION: $(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1)
steps: steps:
- checkout - checkout
- run:
name: Set App Version
command: echo 'export APP_VERSION=$(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1)' >> $BASH_ENV
- run: - run:
name: Update Package Managers name: Update Package Managers
command: sudo npm update -g npm yarn command: sudo npm update -g npm yarn
@ -29,7 +30,7 @@ jobs:
- ~/.cache/yarn - ~/.cache/yarn
- run: - run:
name: Get App Version name: Get App Version
command: echo $APP_VERSION ${APP_VERSION} command: echo $APP_VERSION
- run: - run:
name: Install system build dependencies name: Install system build dependencies
command: | command: |