We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dee435 commit 3b5c3f9Copy full SHA for 3b5c3f9
.github/workflows/release.yml
@@ -93,18 +93,15 @@ jobs:
93
runs-on: ubuntu-latest
94
environment: release
95
permissions:
96
- contents: read # for actions/checkout
+ contents: read # keep token scopes minimal
97
id-token: write # for npm trusted publishing via OIDC
98
steps:
99
- - name: Checkout repo
100
- uses: actions/checkout@v4
101
- with:
102
- persist-credentials: false
103
-
104
- name: Setup Node.js
105
uses: actions/setup-node@v4
106
with:
107
- node-version-file: '.node-version'
+ # npm trusted publishing requires a newer Node/npm line than 16.x.x
+ # branch runtime constraints, so pin only this job to Node 24.
+ node-version: 24
108
109
- name: Download npmDist package
110
uses: actions/download-artifact@v4
0 commit comments