From c71c2a12df7e05de29524dc3bbe04dbf964f3474 Mon Sep 17 00:00:00 2001 From: Kengo TODA Date: Fri, 24 Dec 2021 13:37:58 +0800 Subject: [PATCH] docs: request developers to code with NodeJS 16 or later --- README.md | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fac1dd6..1f9575f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Click the `Use this Template` and provide the new repo details for your action ## Code in Main -> First, you'll need to have a reasonably modern version of `node` handy. This won't work with versions older than 9, for instance. +First, you'll need to have a reasonably modern version of `node` handy. This won't work with versions older than 16, for instance. Install the dependencies ```bash diff --git a/package.json b/package.json index 786f9f6..737e071 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,9 @@ "type": "git", "url": "git+https://github.com/actions/typescript-action.git" }, + "engines": { + "node": "^16.13.1" + }, "keywords": [ "actions", "node",