Skip to content

Commit 7e87e5e

Browse files
authored
test: set cacheRoot to checksum download (#1540)
1 parent 6430d3f commit 7e87e5e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ steps-ci: &steps-ci
3535
*) yarn install --frozen-lockfile ;;
3636
esac
3737
- *step-restore-electron-cache
38-
- run: test/ci/_before_script.js
38+
- run:
39+
name: Download Electron binaries
40+
command: |
41+
node test/ci/_before_script.js
3942
- *step-save-electron-cache
4043
- run: yarn run lint
4144
- run: yarn run tsd

test/_setup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ async function downloadAll (version) {
4949
async function downloadElectronChecksum (version) {
5050
return downloadArtifact({
5151
isGeneric: true,
52+
cacheRoot: path.join(os.homedir(), '.electron'),
5253
version,
5354
artifactName: 'SHASUMS256.txt'
5455
})

0 commit comments

Comments
 (0)