From 1ccda841889fa8c896be5550ffe7ef78f20563f2 Mon Sep 17 00:00:00 2001 From: Jeff Stringer <71564882+JeffAStringer@users.noreply.github.com> Date: Mon, 7 Dec 2020 19:38:01 -0600 Subject: [PATCH] Add .circleci/config.yml --- .circleci/config.yml | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3746d63c..6f98693a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,21 +1,13 @@ -version: 2 -jobs: - build: - docker: - - image: circleci/node:8.9.4 - working_directory: ~/repo - - steps: - - checkout - - - restore_cache: - keys: - - npm-packages-v1-{{ .Branch }}-{{ checksum "package-lock.json" }} - - npm-packages-v1-{{ .Branch }}- - - npm-packages-v1- - - run: npm install - - save_cache: - paths: - - node_modules - key: npm-packages-v1-{{ .Branch }}-{{ checksum "package-lock.json" }} - - run: 'npm run lint' +# 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