From 055e49267bdc086a7c29e6907bd02e496b681015 Mon Sep 17 00:00:00 2001 From: Mariot Chauvin Date: Tue, 7 May 2024 11:18:51 +0100 Subject: [PATCH] Update to node latest node LTS: 20.12.2 --- .nvmrc | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nvmrc b/.nvmrc index 53a4221..a81deba 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.13.2 +v20.12.2 diff --git a/package.json b/package.json index c79ebda..a122b5c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A Github Action to deploy a Guardian static site.", "main": "index.js", "scripts": { - "build": "esbuild index.ts --bundle --platform=node --target=node16 --outfile=index.js", + "build": "esbuild index.ts --bundle --platform=node --target=node20 --outfile=index.js", "test": "jest", "tsc": "tsc --noEmit", "lint": "eslint . --ext .ts --no-error-on-unmatched-pattern --fix",