diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b934dc..613784f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,7 @@ workflows: workflow1: jobs: - hello1 + - yarn1 jobs: hello1: docker: @@ -13,4 +14,17 @@ jobs: - run: command: "echo ok" - name: "Hello World" \ No newline at end of file + name: "Hello World" + yarn1: + docker: + - + image: "circleci/node:12" + steps: + - checkout + - restore_cache: + key: yarn-v1-packages-{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - save_cache: + key: yarn-v1-packages-{{ checksum "yarn.lock" }} + paths: + - ./node_modules \ No newline at end of file