Skip to content

Commit 07d7ba3

Browse files
authored
ci(publish-libraries): setup node 24 and apply workaround for OIDC flow (#1636)
1 parent 0a04f82 commit 07d7ba3

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/publish-libraries.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ jobs:
211211
- name: Check out ${{ github.repository }}
212212
uses: actions/checkout@v4
213213

214+
- name: Setup Node.js
215+
uses: actions/setup-node@v6
216+
with:
217+
node-version: 24
218+
registry-url: https://registry.npmjs.org
219+
214220
- name: Download NPM packages artifact
215221
uses: actions/download-artifact@v4
216222
with:

ci/npm-publish.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ try
3535
else
3636
{
3737
Write-Host "Publishing..."
38-
npm publish "$Tarball" "--access=$Access"
38+
NODE_AUTH_TOKEN="" npm publish "$Tarball" "--access=$Access" # NODE_AUTH_TOKEN is a workaround for https://github.com/actions/setup-node/issues/1440
3939
}
4040
}
4141
finally

0 commit comments

Comments
 (0)