Skip to content

Commit 7f7f796

Browse files
committed
chore: updateNpm: false
1 parent 52d8b1b commit 7f7f796

9 files changed

Lines changed: 60 additions & 108 deletions

File tree

.github/workflows/audit.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ jobs:
3333
node-version: 22.x
3434
check-latest: contains('22.x', '.x')
3535
cache: npm
36-
- name: Install Latest npm
37-
uses: ./.github/actions/install-latest-npm
38-
with:
39-
node: ${{ steps.node.outputs.node-version }}
4036
- name: Install Dependencies
4137
run: npm i --no-audit --no-fund --package-lock
4238
- name: Run Production Audit

.github/workflows/ci-cli.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ jobs:
4141
node-version: 22.x
4242
check-latest: contains('22.x', '.x')
4343
cache: npm
44-
- name: Install Latest npm
45-
uses: ./.github/actions/install-latest-npm
46-
with:
47-
node: ${{ steps.node.outputs.node-version }}
4844
- name: Install Dependencies
4945
run: npm i --no-audit --no-fund
5046
- name: Lint
@@ -84,10 +80,6 @@ jobs:
8480
node-version: ${{ matrix.node-version }}
8581
check-latest: contains(matrix.node-version, '.x')
8682
cache: npm
87-
- name: Install Latest npm
88-
uses: ./.github/actions/install-latest-npm
89-
with:
90-
node: ${{ steps.node.outputs.node-version }}
9183
- name: Install Dependencies
9284
run: npm i --no-audit --no-fund
9385
- name: Add Problem Matcher

.github/workflows/ci.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ jobs:
4141
node-version: 22.x
4242
check-latest: contains('22.x', '.x')
4343
cache: npm
44-
- name: Install Latest npm
45-
uses: ./.github/actions/install-latest-npm
46-
with:
47-
node: ${{ steps.node.outputs.node-version }}
4844
- name: Install Dependencies
4945
run: npm i --no-audit --no-fund
5046
- name: Lint
@@ -84,10 +80,6 @@ jobs:
8480
node-version: ${{ matrix.node-version }}
8581
check-latest: contains(matrix.node-version, '.x')
8682
cache: npm
87-
- name: Install Latest npm
88-
uses: ./.github/actions/install-latest-npm
89-
with:
90-
node: ${{ steps.node.outputs.node-version }}
9183
- name: Install Dependencies
9284
run: npm i --no-audit --no-fund
9385
- name: Add Problem Matcher
@@ -125,10 +117,6 @@ jobs:
125117
node-version: ${{ matrix.node-version }}
126118
check-latest: contains(matrix.node-version, '.x')
127119
cache: npm
128-
- name: Install Latest npm
129-
uses: ./.github/actions/install-latest-npm
130-
with:
131-
node: ${{ steps.node.outputs.node-version }}
132120
- name: Install Dependencies
133121
run: npm i --no-audit --no-fund
134122
- name: Check CLI Documentation

.github/workflows/post-dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ jobs:
3131
node-version: 22.x
3232
check-latest: contains('22.x', '.x')
3333
cache: npm
34-
- name: Install Latest npm
35-
uses: ./.github/actions/install-latest-npm
36-
with:
37-
node: ${{ steps.node.outputs.node-version }}
3834
- name: Install Dependencies
3935
run: npm i --no-audit --no-fund
4036
- name: Fetch Dependabot Metadata

.github/workflows/publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ jobs:
3535
node-version: 22.x
3636
check-latest: contains('22.x', '.x')
3737
cache: npm
38-
- name: Install Latest npm
39-
uses: ./.github/actions/install-latest-npm
40-
with:
41-
node: ${{ steps.node.outputs.node-version }}
4238
- name: Install Dependencies
4339
run: npm i --no-audit --no-fund
4440
- name: Rebuild deps

.github/workflows/update-cli.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ jobs:
3131
node-version: 22.x
3232
check-latest: contains('22.x', '.x')
3333
cache: npm
34-
- name: Install Latest npm
35-
uses: ./.github/actions/install-latest-npm
36-
with:
37-
node: ${{ steps.node.outputs.node-version }}
3834
- name: Install Dependencies
3935
run: npm i --no-audit --no-fund
4036
- name: Build documentation

package-lock.json

Lines changed: 54 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,13 @@
101101
},
102102
"templateOSS": {
103103
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
104-
"version": "4.29.0",
105-
"content": "./scripts/template-oss",
106-
"dependabotInterval": "weekly",
107104
"allowPaths": [
108105
"cli-cache.json"
109-
]
106+
],
107+
"content": "./scripts/template-oss",
108+
"dependabotInterval": "weekly",
109+
"updateNpm": false,
110+
"version": "4.29.0"
110111
},
111112
"overrides": {
112113
"gatsby@^5.16.0": {

scripts/template-oss/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ module.exports = {
3030
},
3131
},
3232
ciVersions: 'latest',
33+
updateNpm: false,
3334
latestCiVersion: 22,
3435
macCI: false,
3536
windowsCI: false,

0 commit comments

Comments
 (0)