Skip to content

Commit

Permalink
chore(deps): @npmcli/template-oss@4.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 4, 2024
1 parent ee64c7f commit 0a04dfb
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .github/actions/create-check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
using: "composite"
steps:
- name: Get Workflow Job
uses: actions/github-script@v6
uses: actions/github-script@v7
id: workflow
env:
JOB_NAME: "${{ inputs.name }}"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: 20.x
check-latest: contains('20.x', '.x')
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Remove Template-OSS
if: matrix && matrix.node-version == '6.17.1'
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
- name: Setup Git User
Expand All @@ -44,11 +44,11 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
sha: ${{ inputs.check-sha }}
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: 20.x
check-latest: contains('20.x', '.x')
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Remove Template-OSS
if: matrix && matrix.node-version == '6.17.1'
run: |
Expand Down Expand Up @@ -82,14 +82,14 @@ jobs:
shell: bash
node-version:
- 6.17.1
- 20.x
- 22.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
- name: Setup Git User
Expand All @@ -105,7 +105,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
sha: ${{ inputs.check-sha }}
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: ${{ matrix.node-version }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: 20.x
check-latest: contains('20.x', '.x')
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Remove Template-OSS
if: matrix && matrix.node-version == '6.17.1'
run: |
Expand All @@ -60,20 +60,20 @@ jobs:
shell: bash
node-version:
- 6.17.1
- 20.x
- 22.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: 20.x
check-latest: contains('20.x', '.x')
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Remove Template-OSS
if: matrix && matrix.node-version == '6.17.1'
run: |
Expand Down
19 changes: 6 additions & 13 deletions .github/workflows/release-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ jobs:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ fromJSON(inputs.releases)[0].tagName }}
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: 20.x
check-latest: contains('20.x', '.x')
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Remove Template-OSS
if: matrix && matrix.node-version == '6.17.1'
run: |
Expand All @@ -61,17 +61,10 @@ jobs:
run: |
EXIT_CODE=0
function each_release {
if npm publish --provenance --tag="$1"; then
echo 0
else
echo 1
fi
}
for release in $(echo $RELEASES | jq -r '.[] | @base64'); do
PUBLISH_TAG=$(echo "$release" | base64 --decode | jq -r .publishTag)
STATUS=$(each_release "$PUBLISH_TAG")
npm publish --provenance --tag="$PUBLISH_TAG"
STATUS=$?
if [[ "$STATUS" -eq 1 ]]; then
EXIT_CODE=$STATUS
fi
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: 20.x
check-latest: contains('20.x', '.x')
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Remove Template-OSS
if: matrix && matrix.node-version == '6.17.1'
run: |
Expand All @@ -58,7 +58,7 @@ jobs:
run: npx --offline template-oss-release-please --branch="${{ github.ref_name }}" --backport="6" --defaultTag="latest"
- name: Create Release Manager Comment Text
if: steps.release.outputs.pr-number
uses: actions/github-script@v6
uses: actions/github-script@v7
id: comment-text
with:
result-encoding: string
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ needs.release.outputs.pr-branch }}
Expand All @@ -120,11 +120,11 @@ jobs:
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: node
with:
node-version: 20.x
check-latest: contains('20.x', '.x')
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Remove Template-OSS
if: matrix && matrix.node-version == '6.17.1'
run: |
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
steps:
- name: Create Release PR Comment Text
id: comment-text
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
RELEASES: ${{ needs.release.outputs.releases }}
with:
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
- name: Create Release PR Comment Text
id: comment-text
if: steps.found-comment.outputs.comment-id
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
RESULT: ${{ steps.conclusion.outputs.result }}
BODY: ${{ steps.found-comment.outputs.comment-body }}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"posttest": "npm run lint"
},
"devDependencies": {
"@npmcli/template-oss": "4.21.4",
"@npmcli/template-oss": "4.22.0",
"tap": "^12.7.0"
},
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/npm/node-semver.git"
"url": "git+https://github.com/npm/node-semver.git"
},
"bin": {
"semver": "./bin/semver.js"
Expand All @@ -33,6 +33,6 @@
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"content": "./scripts/template-oss",
"version": "4.21.4"
"version": "4.22.0"
}
}
15 changes: 5 additions & 10 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,27 @@
{
"type": "feat",
"section": "Features",
"hidden": false,
"collapse": false
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false,
"collapse": false
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false,
"collapse": false
"hidden": false
},
{
"type": "deps",
"section": "Dependencies",
"hidden": false,
"collapse": false
"hidden": false
},
{
"type": "chore",
"section": "Chores",
"hidden": false,
"collapse": false
"hidden": true
}
],
"packages": {
Expand Down

0 comments on commit 0a04dfb

Please sign in to comment.