I got wrong node version 6.1.0 instead 11.10.1-alpine
I see that while building it uses expected node version
docker-compose up -d
Step 1/10 : FROM node:11.10.1-alpine
11.10.1-alpine: Pulling from library/node
But while installing dependencies node version is 6.1.0
my config is
version: 2
jobs:
build:
machine: # Use a Linux VM instead of docker environment
enabled: true
node:
version: 11.10.1-alpine
working_directory: ~/bone
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ checksum "yarn.lock" }}
- run: docker network create bone-net
- run: docker-compose up -d
- run: node -v
- run: npm -v
- run: npm install -g yarn
- run:
name: Install Dependencies
command: yarn install
no_output_timeout: 30m
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- run:
name: Test BONE Frontend
command: yarn lint:client && yarn coverage:client --runInBand
no_output_timeout: 30m
- run:
name: Test BONE Backend
command: yarn lint:backend && yarn coverage:backend --runInBand
no_output_timeout: 30m
- store_artifacts:
path: docs/bone/1.0.0/
prefix: coverage
- store_artifacts:
path: docs/bone/1.0.0/clover.xml
prefix: tests