version: 2.1 # Use version 2.1 to enable orb usage. orbs: win: circleci/windows@2.2.0 # The Windows orb give you everything you need to start using the Windows executor. jobs: build: docker: - image: "circleci/node:12" steps: - checkout - restore_cache: key: yarn-cache{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install - save_cache: key: yarn-cache{{ checksum "yarn.lock" }} paths: - ./node_modules