Skip to content

Commit 9bb2d74

Browse files
authored
fix(CI): fix nightly releases by bumping node version (#3878)
## Description Recently, CI releasing nightly versions stopped working. There seems to be a problem with bumping `npm` in runtime. I set node version for publish workflow to `'>=24.5.0 <25.0.0'` (`[email protected]` is preinstalled with `node` starting from `24.5.0`, source: click on `v24` on https://nodejs.org/en/about/previous-releases). ## Changes - bump node version to `'>=24.5.0 <25.0.0'` in nightly release workflow - remove manual npm bump ## Before & after - visual documentation N/A ## Test plan Nightly releases should start being published via CI. ## Checklist - [ ] Ensured that CI passes
1 parent 31cb1e6 commit 9bb2d74

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/npm-screens-publish-nightly.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,10 @@ jobs:
2121
- name: Setup Node
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 22
24+
# Ensure node version with npm 11.5.1 or later is installed for OIDC
25+
node-version: '>=24.5.0 <25.0.0'
2526
cache: 'yarn'
2627
registry-url: https://registry.npmjs.org/
27-
28-
# Ensure npm 11.5.1 or later is installed for OIDC
29-
- name: Update npm
30-
run: npm install -g npm@latest
3128

3229
- name: Clear annotations
3330
run: .github/workflows/helper/clear-annotations.sh

0 commit comments

Comments
 (0)