Yield generated for 0a51d723-9283-4b0a-90bd-001aa65aed09
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.
 
 
 

45 lines
1000 B

version: 2.1
executors:
my-executor:
docker:
- image: cimg/node:14.10.1
auth:
username: nicodrg
password: Ndrg100394
jobs:
build:
executor: my-executor
steps:
- checkout
- run:
name: Install dependencies
command: yarn global add node-gyp && yarn install
- save_cache:
key: npm-v6-dependencies-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn5
lint:
executor: my-executor
steps:
- checkout
- restore_cache:
key: npm-v6-dependencies-{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check
test:
executor: my-executor
steps:
- checkout
- restore_cache:
key: npm-v6-dependencies-{{ checksum "yarn.lock" }}
- run: yarn test:ci
workflows:
version: 2
integration:
jobs:
- build
- lint:
requires:
- build
- test:
requires:
- build