diff --git a/.circleci/config.yml b/.circleci/config.yml index 16ff7ab..4b9e2fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,14 +1,15 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 -# Use a package of configuration called an orb. -orbs: - # Declare a dependency on the welcome-orb - welcome: circleci/welcome-orb@0.4.1 -# Orchestrate or schedule a set of jobs -workflows: - # Name the workflow "welcome" - welcome: - # Run the welcome/run job in its own container - jobs: - - welcome/run - +# Define the jobs we want to run for this project +jobs: + build: + docker: + - image: cimg/node:14.10.1 + steps: + - checkout + - restore_cache: + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn global add node-gyp && yarn install + - save_cache: + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + paths: + - ./node_modules