Skip to content

Commit 9246ad5

Browse files
authored
chore(deps): @npmcli/template-oss@4.22.0 (#708)
1 parent 3969129 commit 9246ad5

File tree

11 files changed

+36
-47
lines changed

11 files changed

+36
-47
lines changed

.github/actions/create-check/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runs:
1717
using: "composite"
1818
steps:
1919
- name: Get Workflow Job
20-
uses: actions/github-script@v6
20+
uses: actions/github-script@v7
2121
id: workflow
2222
env:
2323
JOB_NAME: "${{ inputs.name }}"

.github/workflows/audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
shell: bash
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Setup Git User
2323
run: |
2424
git config --global user.email "npm-cli+bot@github.com"
2525
git config --global user.name "npm CLI robot"
2626
- name: Setup Node
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
id: node
2929
with:
3030
node-version: 20.x

.github/workflows/ci-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
shell: bash
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
ref: ${{ inputs.ref }}
3434
- name: Setup Git User
@@ -44,7 +44,7 @@ jobs:
4444
token: ${{ secrets.GITHUB_TOKEN }}
4545
sha: ${{ inputs.check-sha }}
4646
- name: Setup Node
47-
uses: actions/setup-node@v3
47+
uses: actions/setup-node@v4
4848
id: node
4949
with:
5050
node-version: 20.x
@@ -89,7 +89,7 @@ jobs:
8989
shell: ${{ matrix.platform.shell }}
9090
steps:
9191
- name: Checkout
92-
uses: actions/checkout@v3
92+
uses: actions/checkout@v4
9393
with:
9494
ref: ${{ inputs.ref }}
9595
- name: Setup Git User
@@ -105,7 +105,7 @@ jobs:
105105
token: ${{ secrets.GITHUB_TOKEN }}
106106
sha: ${{ inputs.check-sha }}
107107
- name: Setup Node
108-
uses: actions/setup-node@v3
108+
uses: actions/setup-node@v4
109109
id: node
110110
with:
111111
node-version: ${{ matrix.node-version }}

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
shell: bash
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: Setup Git User
2828
run: |
2929
git config --global user.email "npm-cli+bot@github.com"
3030
git config --global user.name "npm CLI robot"
3131
- name: Setup Node
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
3333
id: node
3434
with:
3535
node-version: 20.x
@@ -67,13 +67,13 @@ jobs:
6767
shell: ${{ matrix.platform.shell }}
6868
steps:
6969
- name: Checkout
70-
uses: actions/checkout@v3
70+
uses: actions/checkout@v4
7171
- name: Setup Git User
7272
run: |
7373
git config --global user.email "npm-cli+bot@github.com"
7474
git config --global user.name "npm CLI robot"
7575
- name: Setup Node
76-
uses: actions/setup-node@v3
76+
uses: actions/setup-node@v4
7777
id: node
7878
with:
7979
node-version: ${{ matrix.node-version }}

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
security-events: write
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
- name: Setup Git User
3030
run: |
3131
git config --global user.email "npm-cli+bot@github.com"

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
shell: bash
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626
- name: Setup Git User
2727
run: |
2828
git config --global user.email "npm-cli+bot@github.com"
2929
git config --global user.name "npm CLI robot"
3030
- name: Setup Node
31-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@v4
3232
id: node
3333
with:
3434
node-version: 20.x

.github/workflows/release-integration.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
id-token: write
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
with:
3535
ref: ${{ fromJSON(inputs.releases)[0].tagName }}
3636
- name: Setup Git User
3737
run: |
3838
git config --global user.email "npm-cli+bot@github.com"
3939
git config --global user.name "npm CLI robot"
4040
- name: Setup Node
41-
uses: actions/setup-node@v3
41+
uses: actions/setup-node@v4
4242
id: node
4343
with:
4444
node-version: 20.x
@@ -61,17 +61,10 @@ jobs:
6161
run: |
6262
EXIT_CODE=0
6363
64-
function each_release {
65-
if npm publish --provenance --tag="$1"; then
66-
echo 0
67-
else
68-
echo 1
69-
fi
70-
}
71-
7264
for release in $(echo $RELEASES | jq -r '.[] | @base64'); do
7365
PUBLISH_TAG=$(echo "$release" | base64 --decode | jq -r .publishTag)
74-
STATUS=$(each_release "$PUBLISH_TAG")
66+
npm publish --provenance --tag="$PUBLISH_TAG"
67+
STATUS=$?
7568
if [[ "$STATUS" -eq 1 ]]; then
7669
EXIT_CODE=$STATUS
7770
fi

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
shell: bash
3232
steps:
3333
- name: Checkout
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535
- name: Setup Git User
3636
run: |
3737
git config --global user.email "npm-cli+bot@github.com"
3838
git config --global user.name "npm CLI robot"
3939
- name: Setup Node
40-
uses: actions/setup-node@v3
40+
uses: actions/setup-node@v4
4141
id: node
4242
with:
4343
node-version: 20.x
@@ -58,7 +58,7 @@ jobs:
5858
run: npx --offline template-oss-release-please --branch="${{ github.ref_name }}" --backport="6" --defaultTag="latest"
5959
- name: Create Release Manager Comment Text
6060
if: steps.release.outputs.pr-number
61-
uses: actions/github-script@v6
61+
uses: actions/github-script@v7
6262
id: comment-text
6363
with:
6464
result-encoding: string
@@ -111,7 +111,7 @@ jobs:
111111
shell: bash
112112
steps:
113113
- name: Checkout
114-
uses: actions/checkout@v3
114+
uses: actions/checkout@v4
115115
with:
116116
fetch-depth: 0
117117
ref: ${{ needs.release.outputs.pr-branch }}
@@ -120,7 +120,7 @@ jobs:
120120
git config --global user.email "npm-cli+bot@github.com"
121121
git config --global user.name "npm CLI robot"
122122
- name: Setup Node
123-
uses: actions/setup-node@v3
123+
uses: actions/setup-node@v4
124124
id: node
125125
with:
126126
node-version: 20.x
@@ -222,7 +222,7 @@ jobs:
222222
steps:
223223
- name: Create Release PR Comment Text
224224
id: comment-text
225-
uses: actions/github-script@v6
225+
uses: actions/github-script@v7
226226
env:
227227
RELEASES: ${{ needs.release.outputs.releases }}
228228
with:
@@ -287,7 +287,7 @@ jobs:
287287
- name: Create Release PR Comment Text
288288
id: comment-text
289289
if: steps.found-comment.outputs.comment-id
290-
uses: actions/github-script@v6
290+
uses: actions/github-script@v7
291291
env:
292292
RESULT: ${{ steps.conclusion.outputs.result }}
293293
BODY: ${{ steps.found-comment.outputs.comment-body }}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
"posttest": "npm run lint"
1414
},
1515
"devDependencies": {
16-
"@npmcli/template-oss": "4.21.4",
16+
"@npmcli/template-oss": "4.22.0",
1717
"tap": "^12.7.0"
1818
},
1919
"license": "ISC",
2020
"repository": {
2121
"type": "git",
22-
"url": "https://github.com/npm/node-semver.git"
22+
"url": "git+https://github.com/npm/node-semver.git"
2323
},
2424
"bin": {
2525
"semver": "./bin/semver"
@@ -33,6 +33,6 @@
3333
"templateOSS": {
3434
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
3535
"content": "./scripts/template-oss",
36-
"version": "4.21.4"
36+
"version": "4.22.0"
3737
}
3838
}

release-please-config.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,33 @@
55
{
66
"type": "feat",
77
"section": "Features",
8-
"hidden": false,
9-
"collapse": false
8+
"hidden": false
109
},
1110
{
1211
"type": "fix",
1312
"section": "Bug Fixes",
14-
"hidden": false,
15-
"collapse": false
13+
"hidden": false
1614
},
1715
{
1816
"type": "docs",
1917
"section": "Documentation",
20-
"hidden": false,
21-
"collapse": false
18+
"hidden": false
2219
},
2320
{
2421
"type": "deps",
2522
"section": "Dependencies",
26-
"hidden": false,
27-
"collapse": false
23+
"hidden": false
2824
},
2925
{
3026
"type": "chore",
3127
"section": "Chores",
32-
"hidden": false,
33-
"collapse": false
28+
"hidden": true
3429
}
3530
],
31+
"prerelease-type": "pre",
3632
"packages": {
3733
".": {
3834
"package-name": ""
3935
}
40-
},
41-
"prerelease-type": "pre"
36+
}
4237
}

0 commit comments

Comments
 (0)