Skip to content

Commit 9542e09

Browse files
committed
chore: template-oss-apply
1 parent 937bc2c commit 9542e09

9 files changed

Lines changed: 52 additions & 38 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file is automatically added by @npmcli/template-oss. Do not edit.
22

3-
* @npm/cli-team
3+
* @npm/cli-team @npm/cli-triage

.github/workflows/audit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
shell: bash
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525
- name: Setup Git User
2626
run: |
2727
git config --global user.email "[email protected]"
2828
git config --global user.name "npm CLI robot"
2929
- name: Setup Node
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@v6
3131
id: node
3232
with:
33-
node-version: 22.x
34-
check-latest: contains('22.x', '.x')
33+
node-version: 26.x
34+
check-latest: contains('26.x', '.x')
3535
- name: Install Latest npm
3636
uses: ./.github/actions/install-latest-npm
3737
with:

.github/workflows/ci-release.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
shell: bash
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6
3636
with:
3737
ref: ${{ inputs.ref }}
3838
- name: Setup Git User
@@ -48,11 +48,11 @@ jobs:
4848
token: ${{ secrets.GITHUB_TOKEN }}
4949
sha: ${{ inputs.check-sha }}
5050
- name: Setup Node
51-
uses: actions/setup-node@v4
51+
uses: actions/setup-node@v6
5252
id: node
5353
with:
54-
node-version: 22.x
55-
check-latest: contains('22.x', '.x')
54+
node-version: 26.x
55+
check-latest: contains('26.x', '.x')
5656
- name: Install Latest npm
5757
uses: ./.github/actions/install-latest-npm
5858
with:
@@ -99,6 +99,8 @@ jobs:
9999
- 18.x
100100
- 20.x
101101
- 22.x
102+
- 24.x
103+
- 26.x
102104
exclude:
103105
- platform: { name: macOS, os: macos-latest, shell: bash }
104106
node-version: 10.0.0
@@ -116,13 +118,17 @@ jobs:
116118
node-version: 20.x
117119
- platform: { name: macOS, os: macos-15-intel, shell: bash }
118120
node-version: 22.x
121+
- platform: { name: macOS, os: macos-15-intel, shell: bash }
122+
node-version: 24.x
123+
- platform: { name: macOS, os: macos-15-intel, shell: bash }
124+
node-version: 26.x
119125
runs-on: ${{ matrix.platform.os }}
120126
defaults:
121127
run:
122128
shell: ${{ matrix.platform.shell }}
123129
steps:
124130
- name: Checkout
125-
uses: actions/checkout@v4
131+
uses: actions/checkout@v6
126132
with:
127133
ref: ${{ inputs.ref }}
128134
- name: Setup Git User
@@ -138,12 +144,13 @@ jobs:
138144
token: ${{ secrets.GITHUB_TOKEN }}
139145
sha: ${{ inputs.check-sha }}
140146
- name: Setup Node
141-
uses: actions/setup-node@v4
147+
uses: actions/setup-node@v6
142148
id: node
143149
with:
144150
node-version: ${{ matrix.node-version }}
145151
check-latest: contains(matrix.node-version, '.x')
146152
- name: Install Latest npm
153+
if: ${{ !startsWith(matrix.node-version, '22.') }}
147154
uses: ./.github/actions/install-latest-npm
148155
with:
149156
node: ${{ steps.node.outputs.node-version }}

.github/workflows/ci.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ jobs:
2626
shell: bash
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
- name: Setup Git User
3131
run: |
3232
git config --global user.email "[email protected]"
3333
git config --global user.name "npm CLI robot"
3434
- name: Setup Node
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@v6
3636
id: node
3737
with:
38-
node-version: 22.x
39-
check-latest: contains('22.x', '.x')
38+
node-version: 26.x
39+
check-latest: contains('26.x', '.x')
4040
- name: Install Latest npm
4141
uses: ./.github/actions/install-latest-npm
4242
with:
@@ -76,6 +76,8 @@ jobs:
7676
- 18.x
7777
- 20.x
7878
- 22.x
79+
- 24.x
80+
- 26.x
7981
exclude:
8082
- platform: { name: macOS, os: macos-latest, shell: bash }
8183
node-version: 10.0.0
@@ -93,24 +95,29 @@ jobs:
9395
node-version: 20.x
9496
- platform: { name: macOS, os: macos-15-intel, shell: bash }
9597
node-version: 22.x
98+
- platform: { name: macOS, os: macos-15-intel, shell: bash }
99+
node-version: 24.x
100+
- platform: { name: macOS, os: macos-15-intel, shell: bash }
101+
node-version: 26.x
96102
runs-on: ${{ matrix.platform.os }}
97103
defaults:
98104
run:
99105
shell: ${{ matrix.platform.shell }}
100106
steps:
101107
- name: Checkout
102-
uses: actions/checkout@v4
108+
uses: actions/checkout@v6
103109
- name: Setup Git User
104110
run: |
105111
git config --global user.email "[email protected]"
106112
git config --global user.name "npm CLI robot"
107113
- name: Setup Node
108-
uses: actions/setup-node@v4
114+
uses: actions/setup-node@v6
109115
id: node
110116
with:
111117
node-version: ${{ matrix.node-version }}
112118
check-latest: contains(matrix.node-version, '.x')
113119
- name: Install Latest npm
120+
if: ${{ !startsWith(matrix.node-version, '22.') }}
114121
uses: ./.github/actions/install-latest-npm
115122
with:
116123
node: ${{ steps.node.outputs.node-version }}

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
security-events: write
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232
- name: Setup Git User
3333
run: |
3434
git config --global user.email "[email protected]"

.github/workflows/post-dependabot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ jobs:
1717
shell: bash
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121
with:
2222
ref: ${{ github.event.pull_request.head.ref }}
2323
- name: Setup Git User
2424
run: |
2525
git config --global user.email "[email protected]"
2626
git config --global user.name "npm CLI robot"
2727
- name: Setup Node
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@v6
2929
id: node
3030
with:
31-
node-version: 22.x
32-
check-latest: contains('22.x', '.x')
31+
node-version: 26.x
32+
check-latest: contains('26.x', '.x')
3333
- name: Install Latest npm
3434
uses: ./.github/actions/install-latest-npm
3535
with:

.github/workflows/pull-request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ jobs:
2323
shell: bash
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727
with:
2828
fetch-depth: 0
2929
- name: Setup Git User
3030
run: |
3131
git config --global user.email "[email protected]"
3232
git config --global user.name "npm CLI robot"
3333
- name: Setup Node
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@v6
3535
id: node
3636
with:
37-
node-version: 22.x
38-
check-latest: contains('22.x', '.x')
37+
node-version: 26.x
38+
check-latest: contains('26.x', '.x')
3939
- name: Install Latest npm
4040
uses: ./.github/actions/install-latest-npm
4141
with:

.github/workflows/release-integration.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ jobs:
3434
id-token: write
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v6
3838
with:
3939
ref: ${{ fromJSON(inputs.releases)[0].tagName }}
4040
- name: Setup Git User
4141
run: |
4242
git config --global user.email "[email protected]"
4343
git config --global user.name "npm CLI robot"
4444
- name: Setup Node
45-
uses: actions/setup-node@v4
45+
uses: actions/setup-node@v6
4646
id: node
4747
with:
48-
node-version: 22.x
49-
check-latest: contains('22.x', '.x')
48+
node-version: 26.x
49+
check-latest: contains('26.x', '.x')
5050
- name: Install Latest npm
5151
uses: ./.github/actions/install-latest-npm
5252
with:

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ jobs:
3131
shell: bash
3232
steps:
3333
- name: Checkout
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535
- name: Setup Git User
3636
run: |
3737
git config --global user.email "[email protected]"
3838
git config --global user.name "npm CLI robot"
3939
- name: Setup Node
40-
uses: actions/setup-node@v4
40+
uses: actions/setup-node@v6
4141
id: node
4242
with:
43-
node-version: 22.x
44-
check-latest: contains('22.x', '.x')
43+
node-version: 26.x
44+
check-latest: contains('26.x', '.x')
4545
- name: Install Latest npm
4646
uses: ./.github/actions/install-latest-npm
4747
with:
@@ -108,7 +108,7 @@ jobs:
108108
shell: bash
109109
steps:
110110
- name: Checkout
111-
uses: actions/checkout@v4
111+
uses: actions/checkout@v6
112112
with:
113113
fetch-depth: 0
114114
ref: ${{ needs.release.outputs.pr-branch }}
@@ -117,11 +117,11 @@ jobs:
117117
git config --global user.email "[email protected]"
118118
git config --global user.name "npm CLI robot"
119119
- name: Setup Node
120-
uses: actions/setup-node@v4
120+
uses: actions/setup-node@v6
121121
id: node
122122
with:
123-
node-version: 22.x
124-
check-latest: contains('22.x', '.x')
123+
node-version: 26.x
124+
check-latest: contains('26.x', '.x')
125125
- name: Install Latest npm
126126
uses: ./.github/actions/install-latest-npm
127127
with:

0 commit comments

Comments
 (0)