Skip to content

Commit 46daf5f

Browse files
committed
Use latest npm for OIDC trusted publishing support
1 parent 036a9ba commit 46daf5f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
- uses: actions/setup-node@v4
1515
with:
1616
node-version: '22'
17-
registry-url: 'https://registry.npmjs.org'
17+
- run: npm install -g npm@latest
18+
- run: npm --version
1819
- run: npm ci
1920
- run: npm run build --if-present
2021
- run: npm test --if-present
21-
- run: npm config delete //registry.npmjs.org/:_authToken || true
22-
- run: npm publish --access public --provenance
22+
- run: npm publish --access public

0 commit comments

Comments
 (0)