diff --git a/.circleci/config.yml b/.circleci/config.yml index a3f11d82..544b4c6d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/test/_setup.js b/test/_setup.js index a5fc0b69..90f804dd 100644 --- a/test/_setup.js +++ b/test/_setup.js @@ -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' })