diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6924528f6..be1eff0edc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/build_develop.yml b/.github/workflows/build_develop.yml index 96b96c8398..6483f2c301 100644 --- a/.github/workflows/build_develop.yml +++ b/.github/workflows/build_develop.yml @@ -25,6 +25,7 @@ jobs: - uses: actions/setup-node@v4 with: + node-version: lts/* # Latest LTS cache: "yarn" - name: Install Dependencies diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e495e87eaa..c1db65161b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/static_analysis.yaml b/.github/workflows/static_analysis.yaml index 2caa342b6b..5a97454ecc 100644 --- a/.github/workflows/static_analysis.yaml +++ b/.github/workflows/static_analysis.yaml @@ -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 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b654b2a3a2..5452d5f351 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -22,6 +22,7 @@ jobs: - name: Yarn cache uses: actions/setup-node@v4 with: + node-version: lts/* # Latest LTS cache: "yarn" - name: Install Dependencies diff --git a/.github/workflows/update-jitsi.yml b/.github/workflows/update-jitsi.yml index 383ed0b1c8..cd9f06f858 100644 --- a/.github/workflows/update-jitsi.yml +++ b/.github/workflows/update-jitsi.yml @@ -12,6 +12,7 @@ jobs: - uses: actions/setup-node@v4 with: + node-version: lts/* # Latest LTS cache: "yarn" - name: Install Deps