From f1e901aa8ede886e4328532cfd17835c04f8feae Mon Sep 17 00:00:00 2001 From: Bruno Fernandes Date: Fri, 4 Oct 2024 00:11:28 +0100 Subject: [PATCH] Upgrade Node.js --- .github/workflows/build.yml | 4 ++-- .nvmrc | 2 +- README.md | 2 +- esbuild.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a72dd23..fec32bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: - name: Set up NodeJS uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: npm - name: Install dependencies run: npm ci @@ -33,7 +33,7 @@ jobs: - name: Set up NodeJS uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: npm - name: Install dependencies run: npm ci diff --git a/.nvmrc b/.nvmrc index 20be6fc..e6a1787 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.* +20.* diff --git a/README.md b/README.md index 798c255..5c89383 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The first build step uses a bundler to transpile a JSX-based filesystem descript ### Requirements -- [NodeJS](https://nodejs.org/en/) 18 +- [NodeJS](https://nodejs.org/en/) 20 Run the following commands within the repository root: diff --git a/esbuild.js b/esbuild.js index a5015c6..b0c535d 100644 --- a/esbuild.js +++ b/esbuild.js @@ -21,5 +21,5 @@ await build({ format: "esm", platform: "node", sourcemap: "inline", - target: "node18", + target: "node20", });