@ -1,7 +1,24 @@
version: 2.1
orbs:
node: circleci/node@3.0.0
jobs:
yarn-install-build:
docker:
- image: "circleci/node:12"
steps:
- checkout
- restore_cache:
key: npm-v2-dependencies-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install
- run: yarn build
- save_cache:
paths:
- ./node_modules
workflows:
node-tests:
- node/test
- yarn-install-build