Zelleg 5 years ago
parent
commit
65aeed07cf
  1. 11
      .circleci/config.yml

11
.circleci/config.yml

@ -10,18 +10,19 @@ jobs:
- checkout # check out the code in the project directory - checkout # check out the code in the project directory
- run: yarn install - run: yarn install
- save_cache: - save_cache:
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: npm-v2-dependencies-{{ checksum "yarn.lock" }}
paths: paths:
- ~/.stack
- restore_cache:
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- node_module
test: test:
docker: docker:
- image: cimg/node:14.15.0 # the primary container, where your job's commands are run - image: cimg/node:14.15.0 # the primary container, where your job's commands are run
auth: auth:
username: mydockerhub-user username: mydockerhub-user
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
steps:
- checkout
- restore_cache:
key: npm-v2-dependencies-{{ checksum "yarn.lock" }}
- run: - run:
name: Lint && format check && test ci name: Lint && format check && test ci
command: >- command: >-

Loading…
Cancel
Save