From 4484926adfc6aa5ebc889657f36742be006c17ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=BA=E5=8F=A3=E3=83=AC=E3=82=A4?= Date: Fri, 8 Nov 2024 07:48:30 +0100 Subject: [PATCH] Updated the package.json and action files to require and use Node.JS 18 and higher --- .github/workflows/buildndeploy.yml | 2 +- .github/workflows/prcheck.yml | 2 +- package.json | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildndeploy.yml b/.github/workflows/buildndeploy.yml index 3271da5..2961b23 100644 --- a/.github/workflows/buildndeploy.yml +++ b/.github/workflows/buildndeploy.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: "16" + node-version: "18" - name: Install dependencies run: npm i diff --git a/.github/workflows/prcheck.yml b/.github/workflows/prcheck.yml index 657821e..2e361ba 100644 --- a/.github/workflows/prcheck.yml +++ b/.github/workflows/prcheck.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: "16" + node-version: "18" - name: Install dependencies run: npm i diff --git a/package.json b/package.json index 1ff2ced..dcd3955 100644 --- a/package.json +++ b/package.json @@ -40,5 +40,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "engines": { + "node": ">=18" } }