From bda4d4647f6d40a77267bd6354b299c6954f6dff Mon Sep 17 00:00:00 2001 From: Joyce Er Date: Thu, 5 Nov 2020 16:56:00 -0800 Subject: [PATCH] Force node 12.15 --- .github/workflows/insiders.yml | 6 ++++++ .github/workflows/release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/insiders.yml b/.github/workflows/insiders.yml index e12277b56122..99d5a6f7431f 100644 --- a/.github/workflows/insiders.yml +++ b/.github/workflows/insiders.yml @@ -6,6 +6,7 @@ on: - main env: + NODE_VERSION: 12.15.0 PYTHON_VERSION: 3.9 MOCHA_REPORTER_JUNIT: true # Use the mocha-multi-reporters and send output to both console (spec) and JUnit (mocha-junit-reporter). Also enables a reporter which exits the process running the tests if it haven't already. # Key for the cache created at the end of the the 'Cache ./pythonFiles/lib/python' step. @@ -25,6 +26,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Use Node ${{env.NODE_VERSION}} + uses: actions/setup-node@v2.1.2 + with: + node-version: ${{env.NODE_VERSION}} + - name: Use Python ${{env.PYTHON_VERSION}} uses: actions/setup-python@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef610b330d21..044e330d2ffe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ on: env: PYTHON_VERSION: 3.8 + NODE_VERSION: 12.15.0 MOCHA_REPORTER_JUNIT: false # Use the mocha-multi-reporters and send output to both console (spec) and JUnit (mocha-junit-reporter). Also enables a reporter which exits the process running the tests if it hasn't already. # Key for the cache created at the end of the the 'Cache ./pythonFiles/lib/python' step. CACHE_PYTHONFILES: cache-pvsc-pythonFiles @@ -27,6 +28,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Use Node ${{env.NODE_VERSION}} + uses: actions/setup-node@v2.1.2 + with: + node-version: ${{env.NODE_VERSION}} + - name: Use Python ${{env.PYTHON_VERSION}} uses: actions/setup-python@v2 with: