Skip to content

Commit e6531c6

Browse files
committed
chore: update actions/checkout to v6 and switch npm to pnpm for publishing
1 parent 117be6b commit e6531c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/bump-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v6
4747
with:
4848
fetch-depth: 0
4949
persist-credentials: true
@@ -174,7 +174,7 @@ jobs:
174174
local reg_url=$2
175175
echo "Publishing $dir to $reg_url..."
176176
# Try bun publish, fallback to npm if it fails
177-
(cd "$dir" && bun publish --registry="$reg_url") || (cd "$dir" && npm publish --registry="$reg_url")
177+
(cd "$dir" && bun publish --registry="$reg_url") || (cd "$dir" && pnpm publish --registry="$reg_url")
178178
}
179179
180180
# Logic for "all" or specific list

0 commit comments

Comments
 (0)