Skip to content

Commit d79587b

Browse files
committed
Upgrade node to 24 in publishing workflow for trusted publishing process
1 parent a26b0ae commit d79587b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- name: Install pnpm
2020
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v3.0.0
2121

22-
- name: Set node version to 22
22+
- name: Set node version to 24
2323
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
2424
with:
25-
node-version: 22
25+
node-version: 24
2626
cache: 'pnpm'
2727

2828
- name: Prepare
@@ -32,5 +32,3 @@ jobs:
3232
run: |
3333
PACKAGE_DIST_TAG=$(node -e "console.log(/^\d+\.\d+\.\d+(\-(\w+)\.\d+)$/.exec(require('./package.json').version)?.[2] || 'latest')")
3434
pnpm publish --access public --tag $PACKAGE_DIST_TAG --provenance
35-
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)