Skip to content

Commit d90d31d

Browse files
fix: remove registry-url from publish workflow for OIDC
registry-url makes setup-node configure .npmrc with NODE_AUTH_TOKEN which interferes with OIDC token exchange. Add npm@latest upgrade for OIDC support (requires npm >= 11.5.1). 🤖 Generated with Mister Maluco Co-Authored-By: MisterMal <teskeslab@lucasteske.dev>
1 parent e05578a commit d90d31d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ jobs:
1919
- uses: actions/setup-node@v4
2020
with:
2121
node-version: 22
22-
registry-url: https://registry.npmjs.org
2322
cache: npm
2423

24+
- run: npm install --global npm@latest
25+
2526
- run: npm ci
2627

2728
- run: npm run lint

0 commit comments

Comments
 (0)