From 61baea31ddc9cafb4d43183c7ded5238dce04354 Mon Sep 17 00:00:00 2001 From: william33s <101821296+william33s@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:29:47 -0400 Subject: [PATCH 1/4] Add files via upload --- config.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 config.yml diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..875aee4 --- /dev/null +++ b/config.yml @@ -0,0 +1,42 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +orbs: + # The Node.js orb contains a set of prepackaged CircleCI configuration you can utilize + # Orbs reduce the amount of configuration required for common tasks. + # See the orb documentation here: https://circleci.com/developer/orbs/orb/circleci/node + node: circleci/node@4.7 + +jobs: + # Below is the definition of your job to build and test your app, you can rename and customize it as you want. + build-and-test: + # These next lines define a Docker executor: https://circleci.com/docs/2.0/executor-types/ + # You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # A list of available CircleCI Docker Convenience Images are available here: https://circleci.com/developer/images/image/cimg/node + docker: + - image: cimg/node:16.10 + # Then run your tests! + # CircleCI will report the results back to your VCS provider. + steps: + # Checkout the code as the first step. + - checkout + # Next, the node orb's install-packages step will install the dependencies from a package.json. + # The orb install-packages step will also automatically cache them for faster future runs. + - node/install-packages: + # If you are using yarn, change the line below from "npm" to "yarn" + pkg-manager: npm + - run: + name: Run tests + command: npm test + +workflows: + # Below is the definition of your workflow. + # Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above. + # CircleCI will run this workflow on every commit. + # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows + sample: + jobs: + - build-and-test + # For running simple node tests, you could optionally use the node/test job from the orb to replicate and replace the job above in fewer lines. + # - node/test From 60c456b0c815e271be0db199ee8c3d89724c5998 Mon Sep 17 00:00:00 2001 From: william33s <101821296+william33s@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:33:04 -0400 Subject: [PATCH 2/4] Create .circleci --- .circleci | 1 + 1 file changed, 1 insertion(+) create mode 100644 .circleci diff --git a/.circleci b/.circleci new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.circleci @@ -0,0 +1 @@ + From 0039598568f8176be3b12f1ca14e378a6f890bce Mon Sep 17 00:00:00 2001 From: william33s <101821296+william33s@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:34:19 -0400 Subject: [PATCH 3/4] Delete .circleci --- .circleci | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .circleci diff --git a/.circleci b/.circleci deleted file mode 100644 index 8b13789..0000000 --- a/.circleci +++ /dev/null @@ -1 +0,0 @@ - From f204d81562d76414d89dfd4a2306a5999e24c578 Mon Sep 17 00:00:00 2001 From: william33s <101821296+william33s@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:34:53 -0400 Subject: [PATCH 4/4] Delete config.yml --- config.yml | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 config.yml diff --git a/config.yml b/config.yml deleted file mode 100644 index 875aee4..0000000 --- a/config.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference -version: 2.1 - -orbs: - # The Node.js orb contains a set of prepackaged CircleCI configuration you can utilize - # Orbs reduce the amount of configuration required for common tasks. - # See the orb documentation here: https://circleci.com/developer/orbs/orb/circleci/node - node: circleci/node@4.7 - -jobs: - # Below is the definition of your job to build and test your app, you can rename and customize it as you want. - build-and-test: - # These next lines define a Docker executor: https://circleci.com/docs/2.0/executor-types/ - # You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. - # A list of available CircleCI Docker Convenience Images are available here: https://circleci.com/developer/images/image/cimg/node - docker: - - image: cimg/node:16.10 - # Then run your tests! - # CircleCI will report the results back to your VCS provider. - steps: - # Checkout the code as the first step. - - checkout - # Next, the node orb's install-packages step will install the dependencies from a package.json. - # The orb install-packages step will also automatically cache them for faster future runs. - - node/install-packages: - # If you are using yarn, change the line below from "npm" to "yarn" - pkg-manager: npm - - run: - name: Run tests - command: npm test - -workflows: - # Below is the definition of your workflow. - # Inside the workflow, you provide the jobs you want to run, e.g this workflow runs the build-and-test job above. - # CircleCI will run this workflow on every commit. - # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows - sample: - jobs: - - build-and-test - # For running simple node tests, you could optionally use the node/test job from the orb to replicate and replace the job above in fewer lines. - # - node/test