From 06c85ee479bd49e599235100e4059da15a0cc65b Mon Sep 17 00:00:00 2001 From: patrick14796 <57112628+patrick14796@users.noreply.github.com> Date: Thu, 13 May 2021 17:28:04 +0300 Subject: [PATCH 1/2] Add .circleci/config.yml --- .circleci/config.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ef7cfd1..6f98693 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,18 +1,13 @@ +# 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: - node: circleci/node@1.1.6 -jobs: - build-and-test: - executor: - name: node/default - steps: - - checkout - - node/with-cache: - steps: - - run: npm install - - run: npm run test - - run: npm run lint + # Declare a dependency on the welcome-orb + welcome: circleci/welcome-orb@0.4.1 +# Orchestrate or schedule a set of jobs workflows: - build-and-test: - jobs: - - build-and-test \ No newline at end of file + # Name the workflow "welcome" + welcome: + # Run the welcome/run job in its own container + jobs: + - welcome/run From 73e1476650142e2c09f350e9bf81b96187882023 Mon Sep 17 00:00:00 2001 From: patrick14796 <57112628+patrick14796@users.noreply.github.com> Date: Thu, 13 May 2021 17:29:27 +0300 Subject: [PATCH 2/2] Add .circleci/config.yml --- .circleci/config.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f98693..ef7cfd1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,13 +1,18 @@ -# 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 + node: circleci/node@1.1.6 +jobs: + build-and-test: + executor: + name: node/default + steps: + - checkout + - node/with-cache: + steps: + - run: npm install + - run: npm run test + - run: npm run lint workflows: - # Name the workflow "welcome" - welcome: - # Run the welcome/run job in its own container - jobs: - - welcome/run + build-and-test: + jobs: + - build-and-test \ No newline at end of file