Skip to content

Commit cd2bd81

Browse files
authored
Merge pull request #27672 from element-hq/florianduros/ci/node-version
Use last node lts in workflow
2 parents a7ace95 + 561868f commit cd2bd81

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
- uses: actions/setup-node@v4
3838
with:
3939
cache: "yarn"
40+
node-version: "lts/*"
4041

4142
# Workaround for yarn install timeouts, especially on Windows
4243
- run: yarn config set network-timeout 300000

.github/workflows/build_develop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- uses: actions/setup-node@v4
2727
with:
2828
cache: "yarn"
29+
node-version: "lts/*"
2930

3031
- name: Install Dependencies
3132
run: "./scripts/layered.sh"

.github/workflows/static_analysis.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- uses: actions/setup-node@v4
2222
with:
2323
cache: "yarn"
24+
node-version: "lts/*"
2425

2526
- name: Install Dependencies
2627
run: "./scripts/layered.sh"
@@ -43,6 +44,7 @@ jobs:
4344
- uses: actions/setup-node@v4
4445
with:
4546
cache: "yarn"
47+
node-version: "lts/*"
4648

4749
# Does not need branch matching as only analyses this layer
4850
- name: Install Deps
@@ -60,6 +62,7 @@ jobs:
6062
- uses: actions/setup-node@v4
6163
with:
6264
cache: "yarn"
65+
node-version: "lts/*"
6366

6467
# Needs branch matching as it inherits .stylelintrc.js from matrix-react-sdk
6568
- name: Install Dependencies
@@ -77,6 +80,7 @@ jobs:
7780
- uses: actions/setup-node@v4
7881
with:
7982
cache: "yarn"
83+
node-version: "lts/*"
8084

8185
# Does not need branch matching as only analyses this layer
8286
- name: Install Deps
@@ -94,6 +98,7 @@ jobs:
9498
- uses: actions/setup-node@v4
9599
with:
96100
cache: "yarn"
101+
node-version: "lts/*"
97102

98103
- name: Install Deps
99104
run: "scripts/layered.sh"

.github/workflows/tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
uses: actions/setup-node@v4
2424
with:
2525
cache: "yarn"
26+
node-version: "lts/*"
2627

2728
- name: Install Dependencies
2829
run: "./scripts/layered.sh"

.github/workflows/update-jitsi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
cache: "yarn"
16+
node-version: "lts/*"
1617

1718
- name: Install Deps
1819
run: "yarn install --frozen-lockfile"

0 commit comments

Comments
 (0)