From a52d4aed9fce417a98d3884910f5bd8f7dc32071 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 13 Oct 2022 08:52:52 +0100 Subject: [PATCH] Specify node-version for setup-node action --- .github/workflows/build.yml | 1 + .github/workflows/build_develop.yml | 1 + .github/workflows/static_analysis.yaml | 4 ++++ .github/workflows/tests.yaml | 1 + 4 files changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab94c0e9ca..58ab170b3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: 'yarn' + node-version: 16 - name: Install Dependencies run: "./scripts/layered.sh" diff --git a/.github/workflows/build_develop.yml b/.github/workflows/build_develop.yml index 56d27c52b4..205b0b2866 100644 --- a/.github/workflows/build_develop.yml +++ b/.github/workflows/build_develop.yml @@ -22,6 +22,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: 'yarn' + node-version: 16 - name: Install Dependencies run: "./scripts/layered.sh" diff --git a/.github/workflows/static_analysis.yaml b/.github/workflows/static_analysis.yaml index 98cf39a156..2d0babc6d2 100644 --- a/.github/workflows/static_analysis.yaml +++ b/.github/workflows/static_analysis.yaml @@ -19,6 +19,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: 'yarn' + node-version: 16 - name: Install Dependencies run: "./scripts/layered.sh" @@ -39,6 +40,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: 'yarn' + node-version: 16 # Does not need branch matching as only analyses this layer - name: Install Deps @@ -56,6 +58,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: 'yarn' + node-version: 16 # Needs branch matching as it inherits .stylelintrc.js from matrix-react-sdk - name: Install Dependencies @@ -73,6 +76,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: 'yarn' + node-version: 16 - name: Install Deps run: "scripts/layered.sh" diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ea3bbf8b82..3a691e3522 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -21,6 +21,7 @@ jobs: uses: actions/setup-node@v3 with: cache: 'yarn' + node-version: 16 - name: Install Dependencies run: "./scripts/layered.sh"