From 4955643960e761377e6ec899e03f0c1c105991a1 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.yaml | 5 +++++ .github/workflows/static_analysis.yaml | 2 ++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e91f2526..ae907715 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,6 +16,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: "yarn" + node-version: 16 - name: Install Deps run: "yarn install --pure-lockfile" @@ -90,6 +91,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 @@ -146,6 +148,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 @@ -196,6 +199,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 @@ -254,6 +258,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: "yarn" + node-version: 16 - name: Install Deps run: "yarn install --pure-lockfile" diff --git a/.github/workflows/static_analysis.yaml b/.github/workflows/static_analysis.yaml index 8c0435bb..1184b2b3 100644 --- a/.github/workflows/static_analysis.yaml +++ b/.github/workflows/static_analysis.yaml @@ -13,6 +13,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 @@ -34,6 +35,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