diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 6e6267c..7089874 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -33,10 +33,6 @@ jobs: node-version: 22.x check-latest: contains('22.x', '.x') cache: npm - - name: Install Latest npm - uses: ./.github/actions/install-latest-npm - with: - node: ${{ steps.node.outputs.node-version }} - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund --package-lock - name: Run Production Audit diff --git a/.github/workflows/post-dependabot.yml b/.github/workflows/post-dependabot.yml index 4dfcbff..119f066 100644 --- a/.github/workflows/post-dependabot.yml +++ b/.github/workflows/post-dependabot.yml @@ -31,10 +31,6 @@ jobs: node-version: 22.x check-latest: contains('22.x', '.x') cache: npm - - name: Install Latest npm - uses: ./.github/actions/install-latest-npm - with: - node: ${{ steps.node.outputs.node-version }} - name: Install Dependencies run: npm i --ignore-scripts --no-audit --no-fund - name: Fetch Dependabot Metadata diff --git a/package.json b/package.json index 4ee45e3..9870ae7 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", "version": "4.30.0", "content": "./scripts/template-oss", - "dependabotInterval": "weekly" + "dependabotInterval": "weekly", + "updateNpm": false }, "dependencies": { "@redocly/cli": "^2.9.0", diff --git a/scripts/template-oss/index.js b/scripts/template-oss/index.js index 31a72c0..3d80312 100644 --- a/scripts/template-oss/index.js +++ b/scripts/template-oss/index.js @@ -30,6 +30,7 @@ module.exports = { ciVersions: 'latest', latestCiVersion: 22, macCI: false, + updateNpm: false, windowsCI: false, lockfile: true, // these need to be allowed since they need to installed explicitly since