Update config.yml
This commit is contained in:
parent
fb986fbb1f
commit
255b8401ee
1 changed files with 5 additions and 4 deletions
|
@ -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: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue