Browse Source

Updated config.yml

main
HenriBoulnois 5 years ago
parent
commit
8fd75a1e2c
  1. 24
      .circleci/config.yml

24
.circleci/config.yml

@ -1,8 +1,11 @@
version: 2.1 version: 2.1
jobs: jobs:
yarninstall: yarninstall:
machine:
image: ubuntu-2004:202010-01
docker:
- image: cimg/node:lts
auth:
username: henriboulnois
password: $DOCKERHUB_PASSWORD
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -15,13 +18,26 @@ jobs:
- "node_module" - "node_module"
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
yarnlint: yarnlint:
machine:
image: ubuntu-2004:202010-01
docker:
- image: cimg/node:lts
auth:
username: henriboulnois
password: $DOCKERHUB_PASSWORD
steps: steps:
- run: yarn lint - run: yarn lint
- run: yarn format:check
unittest:
docker:
- image: cimg/node:lts
auth:
username: henriboulnois
password: $DOCKERHUB_PASSWORD
steps:
- run: yarn test:ci
workflows: workflows:
build: build:
jobs: jobs:
- yarninstall - yarninstall
- yarnlint - yarnlint
- unittest
Loading…
Cancel
Save