From d30cb51e3df96b39297ee231001186ae8d1028b3 Mon Sep 17 00:00:00 2001 From: Mikkel Denker Date: Thu, 22 Feb 2024 19:07:41 +0100 Subject: [PATCH] Update nodejs to v20.10 in CI (#166) * update nodejs to v20.10 in github action * loosen restriction on npm version frontend should work as long as we have correct nodejs version. don't think the npm version is necessary --- .github/workflows/ci.yaml | 3 +++ frontend/package.json | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06b9cba9..886c3b4d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,6 +42,9 @@ jobs: - uses: taiki-e/install-action@v2 with: tool: cargo-about + - uses: actions/setup-node@v4 + with: + node-version: 20.10.x - name: Run CI run: ./scripts/ci/all - name: Test diff --git a/frontend/package.json b/frontend/package.json index a909827b..15e12a47 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -62,7 +62,6 @@ "ts-pattern": "^5.0.6" }, "engines": { - "node": "20.10.x", - "npm": "10.2.x" + "node": "20.10.x" } }