File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2727 const semver = require(path.join(process.env.GITHUB_ACTION_PATH, 'node_modules/semver'));
2828
2929 const defaultVersion = '20.9';
30-
30+
3131 // Define the versions to check against the package.json engines field, in order of preference
3232 // See https://github.com/actions/node-versions/releases for available versions
3333 const versionsToCheck = [defaultVersion, '24.9'].map((v) => semver.minVersion(v).version);
3737 core.setFailed(`Error: package.json not found at ${packageJsonPath}`);
3838 return;
3939 }
40-
40+
4141 const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
4242 const requiredRange = packageJson.engines?.node;
4343
Original file line number Diff line number Diff line change 110110 required : false
111111
112112env :
113- WORKFLOW_BRANCH : " mp/node_version "
113+ WORKFLOW_BRANCH : " main "
114114 POSTGRES_HOSTNAME : postgres_${{ github.job }}_${{ inputs.deduplication_id }}_${{ github.run_id }}_${{ github.run_attempt }}
115115
116116permissions :
You can’t perform that action at this time.
0 commit comments