We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 869c695 commit f93043aCopy full SHA for f93043a
1 file changed
.github/workflows/release.yml
@@ -6,7 +6,7 @@ on:
6
- "v*"
7
8
permissions:
9
- id-token: write
+ id-token: write # Required for OIDC publishing on npm
10
contents: write
11
12
jobs:
@@ -45,7 +45,7 @@ jobs:
45
- uses: actions/setup-node@v3
46
with:
47
cache: pnpm
48
- node-version-file: .nvmrc
+ node-version: "24" # Node 24+ for npm OIDC trusted publishing
49
registry-url: "https://registry.npmjs.org"
50
- run: pnpm install --frozen-lockfile --prefer-offline
51
- name: Build the libraries
@@ -64,9 +64,6 @@ jobs:
64
else
65
pnpm publish -r --access=public --no-git-checks
66
fi
67
- env:
68
- NPM_CONFIG_PROVENANCE: true
69
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
70
71
- name: Create a draft release
72
run: |
0 commit comments