Skip to content

Commit

Permalink
test: set cacheRoot to checksum download (#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored Aug 1, 2023
1 parent 6430d3f commit 7e87e5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ steps-ci: &steps-ci
*) yarn install --frozen-lockfile ;;
esac
- *step-restore-electron-cache
- run: test/ci/_before_script.js
- run:
name: Download Electron binaries
command: |
node test/ci/_before_script.js
- *step-save-electron-cache
- run: yarn run lint
- run: yarn run tsd
Expand Down
1 change: 1 addition & 0 deletions test/_setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ async function downloadAll (version) {
async function downloadElectronChecksum (version) {
return downloadArtifact({
isGeneric: true,
cacheRoot: path.join(os.homedir(), '.electron'),
version,
artifactName: 'SHASUMS256.txt'
})
Expand Down

0 comments on commit 7e87e5e

Please sign in to comment.