From a2acb37e908369dfcebc09d6dcb4cd3cfc7b7dd8 Mon Sep 17 00:00:00 2001 From: Noah Santschi-Cooney Date: Fri, 14 Nov 2025 14:58:24 +0000 Subject: [PATCH] chore: use newer node & npm versions --- .github/workflows/release.yml | 7 +++++-- .github/workflows/stage.yml | 7 +++++-- package.json | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 081a025..0421205 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,13 +37,16 @@ jobs: with: fetch-depth: 0 - - name: Install node 18 + - name: Install node 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: npm registry-url: 'https://registry.npmjs.org' + - name: Update npm + run: npm install -g npm@11.5.1 + - name: Configure git run: | git config user.name "${{ github.actor }}" diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 1df60aa..5e2aa64 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -35,13 +35,16 @@ jobs: with: fetch-depth: 0 - - name: Install node 18 + - name: Install node 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: npm registry-url: 'https://registry.npmjs.org' + - name: Update npm + run: npm install -g npm@11.5.1 + - name: Enable Corepack run: corepack enable diff --git a/package.json b/package.json index a8dddf6..e9f52e2 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "vulnerability" ], "engines": { - "node": ">= 18.0.0", - "npm": ">= 9.0.0" + "node": ">= 20.0.0", + "npm": ">= 11.5.1" }, "type": "module", "bin": "dist/src/cli.js",