@ -1,18 +1,22 @@
version: 2.1
jobs:
yarn-install:
yarn:
docker:
- image: cimg/node:12.18
steps:
- checkout
- restore_cache:
key: yarn-packages-v3{{ checksum "yarn.lock" }}
key: npm-v2-dependencies-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install
- run: yarn build
- save_cache:
paths:
- ./node_modules
workflows:
install:
node-tests:
- yarn-install
- yarn