ci: fix deprecation of old pptr packages (#11407)

This commit is contained in:
Alex Rudenko 2023-11-17 01:16:13 +01:00 committed by GitHub
parent d54b80fa80
commit 4fdf80b30d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,9 +16,10 @@
const {
versionsPerRelease,
lastMaintainedChromiumVersion,
lastMaintainedChromeVersion,
} = require('../versions.js');
const version = versionsPerRelease.get(lastMaintainedChromiumVersion);
const version = versionsPerRelease.get(lastMaintainedChromeVersion);
if (version.toLowerCase() === 'next') {
console.error('Unexpected NEXT Puppeteer version in versions.js');
process.exit(1);