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",