Use LTS nodejs in github workflows (#12726)
Currently our GH workflows all use nodejs 18, but that's not compatible with the stated support range of matrix-js-sdk, which requires the latest LTS nodejs; so, when we attermpt to `yarn install` on an older nodejs, we get an error. Switch to LTS nodejs for all the places we set up nodejs.
This commit is contained in:
committed by
GitHub
parent
e75dc4e038
commit
1fbc97296c
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -44,6 +44,7 @@ jobs:
|
||||
- name: Yarn cache
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "lts/*"
|
||||
cache: "yarn"
|
||||
|
||||
- name: Install Deps
|
||||
@@ -115,6 +116,7 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
cache: "yarn"
|
||||
node-version: "lts/*"
|
||||
|
||||
- name: Run tests
|
||||
run: "./scripts/ci/app-tests.sh"
|
||||
|
||||
Reference in New Issue
Block a user