version: 2.1 workflows: workflow: jobs: - hello - install jobs: hello: docker: - image: cimg/node:14.10.1 steps: - checkout - run: "echo Hello" install: docker: - image: cimg/node:14.10.1 steps: - checkout - restore_cache: key: yarn-package-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install - save_cache: key: yarn-package-{{ checksum "yarn.lock" }} path: - ./node_modules