Compare commits

...

2 commits

Author SHA1 Message Date
Robin 3b936cab48
Merge 3198cf26b4 into d379103352 2024-06-26 17:05:37 +05:30
Robin 3198cf26b4 Use latest LTS Node in CI
The README says we require the latest LTS version of Node, but actions/setup-node with ubuntu-latest appears to default to a version earlier than that. I'd like to make use of a feature (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/unicodeSets) available only since Node 20, which happens to be the latest LTS. So, let's get CI on the right version.
2024-06-12 12:28:53 -04:00
6 changed files with 10 additions and 0 deletions

View file

@ -36,6 +36,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
# Workaround for yarn install timeouts, especially on Windows

View file

@ -25,6 +25,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
- name: Install Dependencies

View file

@ -44,6 +44,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
cache-dependency-path: element-web/yarn.lock

View file

@ -20,6 +20,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
- name: Install Dependencies
@ -42,6 +43,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
# Does not need branch matching as only analyses this layer
@ -59,6 +61,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
# Needs branch matching as it inherits .stylelintrc.js from matrix-react-sdk
@ -76,6 +79,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
# Does not need branch matching as only analyses this layer
@ -93,6 +97,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
- name: Install Deps

View file

@ -22,6 +22,7 @@ jobs:
- name: Yarn cache
uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
- name: Install Dependencies

View file

@ -12,6 +12,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/* # Latest LTS
cache: "yarn"
- name: Install Deps