mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-04 05:50:47 -05:00
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:
committed by
GitHub
parent
3c8114027e
commit
085bc1ebc0
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user