diff --git a/.circleci/config.yml b/.circleci/config.yml index 4e99513..b25be5e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 workdir: &workdir - working_directory: ~/parse-commit-message + working_directory: ~/docks # node8osx: &node8osx # <<: *workdir @@ -26,9 +26,9 @@ node10linux: &node10linux restore_modules_cache: &restore_modules_cache restore_cache: keys: - - parse-commit-message-{{ checksum "yarn.lock" }} + - docks-{{ checksum "yarn.lock" }} # fallback to using the latest cache if no exact match is found - - parse-commit-message- + - docks- # jobinstall: &jobinstall # steps: @@ -41,7 +41,7 @@ restore_modules_cache: &restore_modules_cache # name: Installing project dependencies # command: pnpm run inst # - save_cache: -# key: parse-commit-message-{{ checksum "yarn.lock" }} +# key: docks-{{ checksum "yarn.lock" }} # paths: node_modules # - run: # name: Remove node_modules to cleanup workspace @@ -58,7 +58,7 @@ jobtest: &jobtest name: Testing your project command: yarn test - save_cache: - key: parse-commit-message-{{ checksum "yarn.lock" }} + key: docks-{{ checksum "yarn.lock" }} paths: node_modules - run: name: Sending test coverage to CodeCov @@ -104,7 +104,7 @@ jobs: - *restore_modules_cache - run: name: Bundling your awesome project - command: yarn build + command: yarn build || echo "No build step." - run: name: Releasing and publishing command: yarn new-release