Skip to content

Commit

Permalink
chore(ci): fully disable cache to ensure currency
Browse files Browse the repository at this point in the history
  • Loading branch information
wtho authored and Vladislav.Sharikov committed Apr 28, 2019
1 parent d8577b9 commit d656546
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
steps:
- attach_workspace:
at: .
# disabling cache here as it created issues with the preset in the root
# not being used, as older version in cache was available
#- restore_cache:
# keys:
# - yarn-cache-example-{{ .Branch }}-{{ checksum "yarn.lock" }}
Expand All @@ -51,12 +53,11 @@ jobs:
name: Install Example Dependencies
command: |
cd example
rm -rf node_modules/jest-preset-angular
yarn install --frozen-lockfile
- save_cache:
key: yarn-cache-example-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- ./example/node_modules
#- save_cache:
# key: yarn-cache-example-{{ .Branch }}-{{ checksum "yarn.lock" }}
# paths:
# - ./example/node_modules
- run:
name: Test Example
command: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Changelog (master)

* Added `AngularNoNgAttributesSnapshotSerializer`. Using this serializer makes snapshots clearer and more human-readable. You have to apply this serializer manually by redefining `snapshotSerializers` `jest` option.
* Fixed a CI cache issue in the example app, which would not always use the current version of the preset in the test runs.

### v7.0.0

Expand Down
1 change: 1 addition & 0 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3953,6 +3953,7 @@ jest-mock@^24.0.0:
version "7.0.1"
dependencies:
jest-environment-jsdom-thirteen "^1.0.0"
pretty-format "^24.0.0"
ts-jest "^24.0.0"

jest-regex-util@^24.0.0:
Expand Down

0 comments on commit d656546

Please sign in to comment.