refactor: Bump @actions/core from 1.11.1 to 3.0.0 (#10047)

This commit is contained in:
dependabot[bot]
2026-02-11 21:44:46 +00:00
committed by GitHub
parent 79f581b97e
commit e64b52f77c
6 changed files with 57 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
const core = require('@actions/core');
const semver = require('semver');
const fs = require('fs').promises;
const path = require('path');
let core;
/**
* This checks whether any package dependency requires a minimum node engine
@@ -137,6 +137,7 @@ class NodeEngineCheck {
}
async function check() {
core = await import('@actions/core');
// Define paths
const nodeModulesPath = path.join(__dirname, '../node_modules');
const packageJsonPath = path.join(__dirname, '../package.json');