Skip to content

Commit

Permalink
amend circle cache paths, they may not respect working-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed Oct 17, 2024
1 parent 10044b7 commit efbbc77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- checkout
- restore_cache:
keys:
- npm-deps-{{ checksum "package.json" }}-{{ checksum "./bids-validator/package.json" }}-{{ checksum "./bids-validator-web/package.json" }}-v1
- npm-deps-{{ checksum "./legacy/package.json" }}-{{ checksum "./legacy/bids-validator/package.json" }}-{{ checksum "./legacy/bids-validator-web/package.json" }}-v1
- run: apk --no-cache add git
- run: npm install -g npm@^7
- run: npm install
Expand Down Expand Up @@ -64,15 +64,15 @@ jobs:
- checkout
- restore_cache:
keys:
- npm-deps-{{ checksum "package.json" }}-{{ checksum "./bids-validator/package.json" }}-{{ checksum "./bids-validator-web/package.json" }}-v1
- npm-deps-{{ checksum "./legacy/package.json" }}-{{ checksum "./legacy/bids-validator/package.json" }}-{{ checksum "./legacy/bids-validator-web/package.json" }}-v1
- run:
name: Install bids-validator and bids-validator-web dependencies
command: npm install
- run:
name: Build and export web-validator
command: npm run web-export && rsync -av ./bids-validator-web/out/ ~/web_version
- save_cache:
key: npm-deps-{{ checksum "package.json" }}-{{ checksum "./bids-validator/package.json" }}-{{ checksum "./bids-validator-web/package.json" }}-v1
key: npm-deps-{{ checksum "./legacy/package.json" }}-{{ checksum "./legacy/bids-validator/package.json" }}-{{ checksum "./legacy/bids-validator-web/package.json" }}-v1
paths:
- ./node_modules
- ./.next/cache
Expand Down

0 comments on commit efbbc77

Please sign in to comment.