From d30cf83fbbddba4a1b18ae636f7a8f4b615faab4 Mon Sep 17 00:00:00 2001 From: Jacob Darker <41199879+Darker21@users.noreply.github.com> Date: Mon, 21 Feb 2022 23:08:58 +0000 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4c957b4..752f35e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,11 +20,11 @@ jobs: - run: name: Download cc-test-reporter command: | - mkdir -p tmp/ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./tmp/cc-test-reporter - chmod +x ./tmp/cc-test-reporter + mkdir -p repo/tmp/ + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./repo/tmp/cc-test-reporter + chmod +x ./repo/tmp/cc-test-reporter - persist_to_workspace: - root: tmp + root: ~/repo/tmp paths: - cc-test-reporter - run: @@ -44,9 +44,6 @@ jobs: - node/install-packages: # If you are using yarn, change the line below from "npm" to "yarn" pkg-manager: npm - - run: - name: List Files - command: ls -la && echo $PWD # Below is the definition of your job to build and test your app, you can rename and customize it as you want. @@ -55,6 +52,15 @@ jobs: # Then run your tests! # CircleCI will report the results back to your VCS provider. steps: + - checkout: + path: ~/repo/tmp + - attach_workspace: + at: ~/repo/tmp + # 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: list file command: ls -la && echo $PWD