Update regex for matching Cypress version in tests to replace more version types (#7927)

* Update regex for matching Cypress version to replace more version types

* Increase max zip size from 190 to 200
This commit is contained in:
Jennifer Shehane
2020-07-09 19:51:57 +06:30
committed by GitHub
parent 4618650118
commit 4b4628ea7a
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ const checkZipSize = function (zipPath) {
const zipSize = filesize(stats.size, { round: 0 })
console.log(`zip file size ${zipSize}`)
const MAX_ALLOWED_SIZE_MB = os.platform() === 'win32' ? 245 : 190
const MAX_ALLOWED_SIZE_MB = os.platform() === 'win32' ? 245 : 200
const MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB)
if (stats.size > MAX_ZIP_FILE_SIZE) {