diff --git a/.circleci/config.yml b/.circleci/config.yml index d2d41da..3b18238 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ jobs: name: Install dependencies command: yarn global add node-gyp && yarn install - save_cache: - key: npm-v5-dependencies-{{ checksum "yarn.lock" }} + key: npm-v6-dependencies-{{ checksum "yarn.lock" }} paths: - ~/.cache/yarn5 lint: @@ -23,19 +23,15 @@ jobs: steps: - checkout - restore_cache: - key: npm-v5-dependencies-{{ checksum "yarn.lock" }} - - run: - name: Analyse code with tslint and format with prettier - command: yarn lint && yarn format:check + key: npm-v6-dependencies-{{ checksum "yarn.lock" }} + - run: yarn lint && yarn format:check test: executor: my-executor steps: - checkout - restore_cache: - keys: npm-v5-dependencies-{{ checksum "yarn.lock" }} - - run: - name: Run test with jest - command: yarn test:ci + key: npm-v6-dependencies-{{ checksum "yarn.lock" }} + - run: yarn test:ci workflows: version: 2 integration: