From 33a8de3ada0623fa60f9ad449de0bd756118a5ac Mon Sep 17 00:00:00 2001 From: Jesse Shawl Date: Thu, 21 Mar 2024 16:54:28 -0500 Subject: [PATCH 1/2] update engine --- .nvmrc | 1 + action.yml | 2 +- package.json | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..a3d2332 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20.11 \ No newline at end of file diff --git a/action.yml b/action.yml index 970a425..054f343 100644 --- a/action.yml +++ b/action.yml @@ -17,5 +17,5 @@ outputs: status: # id of output description: 'The delivery status of the notification' runs: - using: 'node16' + using: 'node20' main: 'index.js' diff --git a/package.json b/package.json index e293960..cdaadc7 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, + "engines": { + "node": ">=20" + }, "repository": { "type": "git", "url": "git+https://github.com/actions/hello-world-javascript-action.git" From 6d7861016da562f45c70370ea1fb21ddb012a81a Mon Sep 17 00:00:00 2001 From: Jesse Shawl Date: Thu, 21 Mar 2024 17:05:22 -0500 Subject: [PATCH 2/2] add newline --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index a3d2332..a3597ec 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.11 \ No newline at end of file +20.11