Skip to content

Commit

Permalink
chore: use node version from puppeteer for issue analyzer (#9485)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Jan 11, 2023
1 parent 4240e15 commit 3fde005
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/analyze_issue.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ import {
lastMaintainedChromiumVersion,
} from '../versions.js';
import core from '@actions/core';
import packageJson from '../packages/puppeteer/package.json' assert {type: 'json'};

const LAST_SUPPORTED_PUPPETEER_VERSION = versionsPerRelease.get(
lastMaintainedChromiumVersion
);
if (!LAST_SUPPORTED_PUPPETEER_VERSION) {
core.setFailed('No maintained version found.');
}
const LAST_SUPPORTED_NODE_VERSION = '14.19.0';
const LAST_SUPPORTED_NODE_VERSION = packageJson.engines.node.slice(2).trim();

const SUPPORTED_OSES = ['windows', 'macos', 'linux'];
const SUPPORTED_PACKAGE_MANAGERS = ['yarn', 'npm', 'pnpm'];
Expand Down

0 comments on commit 3fde005

Please sign in to comment.