diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..b6f27f13 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/action.yml b/action.yml index c4698985..b0cb914e 100644 --- a/action.yml +++ b/action.yml @@ -45,5 +45,5 @@ outputs: compatibility-score: description: 'If this PR has a known compatibility score and `compat-lookup` is `true`, this contains the compatibility score (otherwise it contains 0).' runs: - using: 'node12' + using: 'node16' main: 'dist/index.js' diff --git a/package-lock.json b/package-lock.json index 0855e97d..a56bfa45 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,6 +33,10 @@ "typescript": "^4.6.3", "yaml": "^2.0.1", "yargs": "^17.4.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.10.0" } }, "node_modules/@actions/core": { diff --git a/package.json b/package.json index a69d0583..48e8d968 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,10 @@ "merge", "approve" ], + "engines": { + "node": ">=16.0.0", + "npm": ">=7.10.0" + }, "author": "dependabot", "license": "MIT", "dependencies": {