-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): @npmcli/[email protected] (#707)
- Loading branch information
1 parent
ee64c7f
commit f623d0d
Showing
11 changed files
with
34 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,13 @@ jobs: | |
shell: bash | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Setup Git User | ||
run: | | ||
git config --global user.email "[email protected]" | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,13 @@ jobs: | |
shell: bash | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Setup Git User | ||
run: | | ||
git config --global user.email "[email protected]" | ||
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 | ||
|
@@ -67,13 +67,13 @@ jobs: | |
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 "[email protected]" | ||
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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,15 +20,15 @@ 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 "[email protected]" | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,15 +30,15 @@ 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 "[email protected]" | ||
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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,13 +31,13 @@ jobs: | |
shell: bash | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Setup Git User | ||
run: | | ||
git config --global user.email "[email protected]" | ||
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 | ||
|
@@ -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 | ||
|
@@ -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 }} | ||
|
@@ -120,7 +120,7 @@ jobs: | |
git config --global user.email "[email protected]" | ||
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 | ||
|
@@ -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: | ||
|
@@ -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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters