Skip to content

Commit 2de5917

Browse files
fix: upgrade to actions/checkout@v6 and setup-node@v6 for OIDC
v6 actions have proper OIDC support. v4 lacks it, causing registry-url to write an invalid token to .npmrc. 🤖 Generated with Mister Maluco Co-Authored-By: MisterMal <teskeslab@lucasteske.dev>
1 parent 5e9870d commit 2de5917

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,14 @@ permissions:
99
id-token: write
1010
contents: read
1111

12-
env:
13-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
14-
1512
jobs:
1613
publish:
1714
runs-on: ubuntu-latest
1815

1916
steps:
20-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
2118

22-
- uses: actions/setup-node@v4
19+
- uses: actions/setup-node@v6
2320
with:
2421
node-version: '24'
2522
registry-url: 'https://registry.npmjs.org'

0 commit comments

Comments
 (0)