chore: Update Chrome (stable) to 105.0.5195.125 and Chrome (beta) to 106.0.5249.30 (#23421)

Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
This commit is contained in:
github-actions[bot]
2022-09-21 11:55:09 -04:00
committed by GitHub
parent 3c8114027e
commit 085bc1ebc0
3 changed files with 15 additions and 7 deletions
@@ -77,13 +77,14 @@ const checkNeedForBranchUpdate = ({ core, latestStableVersion, latestBetaVersion
}
const updateBrowserVersionsFile = ({ latestBetaVersion, latestStableVersion }) => {
const versions = {
const currentBrowserVersions = JSON.parse(fs.readFileSync('./browser-versions.json'))
const newVersions = Object.assign(currentBrowserVersions, {
'chrome:beta': latestBetaVersion,
'chrome:stable': latestStableVersion,
}
})
// file path is relative to repo root
fs.writeFileSync('./browser-versions.json', `${JSON.stringify(versions, null, 2) }\n`)
fs.writeFileSync('./browser-versions.json', `${JSON.stringify(newVersions, null, 2) }\n`)
}
const updatePRTitle = async ({ context, github, baseBranch, branchName, description }) => {