Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 7c03c50

Browse files
committed
Use latest LTS Node in CI
1 parent b978e9a commit 7c03c50

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/end-to-end-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555

5656
- uses: actions/setup-node@v4
5757
with:
58+
node-version: lts/* # Latest LTS
5859
cache: "yarn"
5960

6061
- name: Fetch layered build
@@ -119,6 +120,7 @@ jobs:
119120

120121
- uses: actions/setup-node@v4
121122
with:
123+
node-version: lts/* # Latest LTS
122124
cache: "yarn"
123125
cache-dependency-path: matrix-react-sdk/yarn.lock
124126

@@ -173,6 +175,7 @@ jobs:
173175
- uses: actions/setup-node@v4
174176
if: inputs.skip != true
175177
with:
178+
node-version: lts/* # Latest LTS
176179
cache: "yarn"
177180

178181
- name: Install dependencies

.github/workflows/static_analysis.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
- uses: actions/setup-node@v4
2626
with:
27+
node-version: lts/* # Latest LTS
2728
cache: "yarn"
2829

2930
- name: Install Deps
@@ -82,6 +83,7 @@ jobs:
8283

8384
- uses: actions/setup-node@v4
8485
with:
86+
node-version: lts/* # Latest LTS
8587
cache: "yarn"
8688

8789
# Does not need branch matching as only analyses this layer
@@ -99,6 +101,7 @@ jobs:
99101

100102
- uses: actions/setup-node@v4
101103
with:
104+
node-version: lts/* # Latest LTS
102105
cache: "yarn"
103106

104107
# Does not need branch matching as only analyses this layer
@@ -116,6 +119,7 @@ jobs:
116119

117120
- uses: actions/setup-node@v4
118121
with:
122+
node-version: lts/* # Latest LTS
119123
cache: "yarn"
120124

121125
# Does not need branch matching as only analyses this layer
@@ -133,6 +137,7 @@ jobs:
133137

134138
- uses: actions/setup-node@v4
135139
with:
140+
node-version: lts/* # Latest LTS
136141
cache: "yarn"
137142

138143
- name: Install Deps

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- name: Yarn cache
4545
uses: actions/setup-node@v4
4646
with:
47+
node-version: lts/* # Latest LTS
4748
cache: "yarn"
4849

4950
- name: Install Deps
@@ -114,6 +115,7 @@ jobs:
114115

115116
- uses: actions/setup-node@v4
116117
with:
118+
node-version: lts/* # Latest LTS
117119
cache: "yarn"
118120

119121
- name: Run tests

0 commit comments

Comments
 (0)