Browse Source

test

pull/1/merge
MTLantoine 6 years ago
parent
commit
b318248772
  1. 22
      .circleci/config.yml

22
.circleci/config.yml

@ -2,22 +2,26 @@ version: 2.1
workflows: workflows:
workflow: workflow:
jobs: jobs:
- yarnlint
- yarntest
- hello1
- yarn1
jobs: jobs:
yarnlint:
hello1:
docker: docker:
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run
- image: 'circleci/node:12'
steps: steps:
- checkout # check out the code in the project directory - checkout # check out the code in the project directory
- run: - run:
command: 'echo ok' command: 'echo ok'
name: 'Hello World' name: 'Hello World'
yarntest:
yarn1:
docker: docker:
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run
- image: 'circleci/node:12'
steps: steps:
- run: yarn global add node-gyp && yarn install
- checkout
- restore_cache: - restore_cache:
keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: yarn-v1-packages-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install
- save_cache:
keys: yarn-v1-packages-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
Loading…
Cancel
Save