|
9 | 9 |
|
10 | 10 | env: |
11 | 11 | PYTHON_VERSION: 3.8 |
| 12 | + NODE_VERSION: 12.15.0 |
12 | 13 | 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. |
13 | 14 | # Key for the cache created at the end of the the 'Cache ./pythonFiles/lib/python' step. |
14 | 15 | CACHE_PYTHONFILES: cache-pvsc-pythonFiles |
|
27 | 28 | - name: Checkout |
28 | 29 | uses: actions/checkout@v2 |
29 | 30 |
|
| 31 | + - name: Use Node ${{env.NODE_VERSION}} |
| 32 | + |
| 33 | + with: |
| 34 | + node-version: ${{env.NODE_VERSION}} |
| 35 | + |
30 | 36 | - name: Use Python ${{env.PYTHON_VERSION}} |
31 | 37 | uses: actions/setup-python@v2 |
32 | 38 | with: |
|
59 | 65 | - name: Checkout |
60 | 66 | uses: actions/checkout@v2 |
61 | 67 |
|
| 68 | + - name: Use Node ${{env.NODE_VERSION}} |
| 69 | + |
| 70 | + with: |
| 71 | + node-version: ${{env.NODE_VERSION}} |
| 72 | + |
62 | 73 | - name: Install dependencies (npm ci) |
63 | 74 | run: npm ci --prefer-offline |
64 | 75 |
|
@@ -105,6 +116,11 @@ jobs: |
105 | 116 | with: |
106 | 117 | path: ${{env.special-working-directory-relative}} |
107 | 118 |
|
| 119 | + - name: Use Node ${{env.NODE_VERSION}} |
| 120 | + |
| 121 | + with: |
| 122 | + node-version: ${{env.NODE_VERSION}} |
| 123 | + |
108 | 124 | - name: Install dependencies (npm ci) |
109 | 125 | run: npm ci |
110 | 126 |
|
@@ -296,6 +312,11 @@ jobs: |
296 | 312 | - name: Checkout |
297 | 313 | uses: actions/checkout@v2 |
298 | 314 |
|
| 315 | + - name: Use Node ${{env.NODE_VERSION}} |
| 316 | + |
| 317 | + with: |
| 318 | + node-version: ${{env.NODE_VERSION}} |
| 319 | + |
299 | 320 | - name: Use Python ${{matrix.python}} |
300 | 321 | uses: actions/setup-python@v2 |
301 | 322 | with: |
@@ -367,6 +388,11 @@ jobs: |
367 | 388 | - name: Checkout |
368 | 389 | uses: actions/checkout@v2 |
369 | 390 |
|
| 391 | + - name: Use Node ${{env.NODE_VERSION}} |
| 392 | + |
| 393 | + with: |
| 394 | + node-version: ${{env.NODE_VERSION}} |
| 395 | + |
370 | 396 | - name: Use Python ${{matrix.python}} |
371 | 397 | uses: actions/setup-python@v2 |
372 | 398 | with: |
|
0 commit comments