From daddefbb30d4491bba9cc4654f52fbbd78144a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Tue, 7 Jan 2025 12:46:17 -0600 Subject: [PATCH 1/2] Use Node 22 to build Evidence site --- .github/workflows/melty.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/melty.yaml b/.github/workflows/melty.yaml index 5bc3b6e..44ebc8a 100644 --- a/.github/workflows/melty.yaml +++ b/.github/workflows/melty.yaml @@ -228,7 +228,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' cache: npm cache-dependency-path: evidence/package-lock.json - name: Build Evidence site From becbc5b094597d68bccec24f245a3f552546c786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Tue, 7 Jan 2025 12:52:32 -0600 Subject: [PATCH 2/2] Require Node >= 22.0.0 --- evidence/package-lock.json | 4 ++-- evidence/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/evidence/package-lock.json b/evidence/package-lock.json index 665a64a..c0a26de 100644 --- a/evidence/package-lock.json +++ b/evidence/package-lock.json @@ -13,8 +13,8 @@ "@evidence-dev/motherduck": "^1.0.4" }, "engines": { - "node": ">=18.0.0", - "npm": ">=7.0.0" + "node": ">=22.0.0", + "npm": ">=10.0.0" } }, "node_modules/@adobe/css-tools": { diff --git a/evidence/package.json b/evidence/package.json index bdc0777..0542a55 100644 --- a/evidence/package.json +++ b/evidence/package.json @@ -10,8 +10,8 @@ "preview": "evidence preview" }, "engines": { - "npm": ">=7.0.0", - "node": ">=18.0.0" + "npm": ">=10.0.0", + "node": ">=22.0.0" }, "type": "module", "dependencies": {