Yield generated for 37c48941-efda-4994-80e7-e3f01a976e02
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

40 lines
920 B

version: 2.1
jobs:
build:
docker:
- image: cimg/node:16.10.0
auth:
username: adechauveron
password: $DOCKER_PASSWORD
steps:
- checkout
- run:
name: "Hello World"
command: echo "Hello World"
- restore_cache:
keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- npm-v1-dependencies-
- run:
name: "yarn install"
command: yarn install
- save_cache:
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
paths: [vendor/bundle]
lint:
docker:
- image: cimg/node:16.10.0
auth:
username: adechauveron
password: $DOCKER_PASSWORD
steps:
- run:
name: "lint step"
command: yarn lint | yarn format:check
- run:
name: "yarn test"
command: yarn test