Skip to content

Commit a345449

Browse files
authored
Use latest npm version for publish step (#299)
use latest npm version
1 parent 62bc73d commit a345449

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,6 @@ jobs:
6565
- run: npm ci
6666
- run: node scripts/update-version.js # ensure the version in version.ts is updated
6767
- run: npm run build
68-
- run: npm publish # no token needed, using OIDC instead
68+
- run: npm install -g npm@latest # Upgrade to npm >= 11.5.1 for OIDC trusted publishing
69+
- run: npm --version # Verify npm version
70+
- run: npm publish --access public # OIDC authentication happens automatically

0 commit comments

Comments
 (0)