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