From dc7ab9b9239fb0acf43e0a81ec6319c032de6a0d Mon Sep 17 00:00:00 2001 From: Eric Garcia Date: Thu, 1 Feb 2024 11:40:51 -0500 Subject: [PATCH] build(node): bump default to 20 (#1401) * build(node): bump default to 20 * build(engines): allow 18.x also --- .github/workflows/manual-release.yml | 2 +- .github/workflows/release.yml | 2 +- .tool-versions | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index 2916e2da9..fd52eee0a 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up node uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x registry-url: https://registry.npmjs.org - name: Install dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 685ce735a..33072e1a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Set up node uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x registry-url: https://registry.npmjs.org - name: Get yarn cache directory path diff --git a/.tool-versions b/.tool-versions index d064b3ead..557ea46d2 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 18.19.0 +nodejs 20.11.0 diff --git a/package.json b/package.json index 0d2b1cbcf..e8e79bab7 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "license": "Apache 2.0", "engines": { - "node": "18.x" + "node": "18.x || 20.x" }, "workspaces": [ "packages/*"