From 1c57367e29d11f99ae56571e49f95f1a1991945e Mon Sep 17 00:00:00 2001 From: Christopher Angelo Phillips <32073428+spiffcs@users.noreply.github.com> Date: Tue, 30 Jan 2024 13:17:35 -0500 Subject: [PATCH] chore: migrate action to use node v20.11.0 (Iron) FROM node v16.x.x (#278) * chore: update action.yml; 16 deprecated 20 supported * chore: add package json section for engines compatibility --------- Signed-off-by: Christopher Phillips --- action.yml | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 1ba095e3..7093e3e7 100644 --- a/action.yml +++ b/action.yml @@ -49,5 +49,5 @@ outputs: json: description: "Path to a JSON report file for the image" runs: - using: "node16" + using: "node20" main: "dist/index.js" diff --git a/package.json b/package.json index 9ab92ad2..5b7829e7 100644 --- a/package.json +++ b/package.json @@ -52,5 +52,8 @@ }, "lint-staged": { "*.js": "prettier --write" + }, + "engines": { + "node": ">=v20.11.0" } }