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