We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b2b152 commit 92b9a94Copy full SHA for 92b9a94
.github/workflows/create-release.yml
@@ -7,6 +7,11 @@ on:
7
type: boolean
8
required: true
9
default: false
10
+
11
+permissions:
12
+ contents: write
13
+ id-token: write
14
15
jobs:
16
build_x86_x64:
17
strategy:
@@ -177,11 +182,11 @@ jobs:
177
182
steps:
178
183
- uses: actions/setup-node@v4
179
184
with:
185
+ # Required minimum Node version for Trusted Publishing is 24.5.0.
186
+ node-version: 24.x
180
187
registry-url: 'https://registry.npmjs.org'
181
188
- uses: actions/download-artifact@v4
189
190
name: npm-module
191
- run: echo -e "PKG_NAME=$(ls -1A *.tgz | head -n 1)" >> "$GITHUB_ENV"
192
- run: npm publish --access=public ${PKG_NAME}
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NODE_AGENT_NPM_TOKEN }}
0 commit comments