Skip to content

Commit b1e82f0

Browse files
joyceerhlkarthiknadig
authored andcommitted
Use Node 12.15 in Insiders and Release GitHub Actions (microsoft#14641)
1 parent 557f81d commit b1e82f0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/insiders.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- main
77

88
env:
9+
NODE_VERSION: 12.15.0
910
PYTHON_VERSION: 3.9
1011
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.
1112
# Key for the cache created at the end of the the 'Cache ./pythonFiles/lib/python' step.
@@ -25,6 +26,11 @@ jobs:
2526
- name: Checkout
2627
uses: actions/checkout@v2
2728

29+
- name: Use Node ${{env.NODE_VERSION}}
30+
uses: actions/[email protected]
31+
with:
32+
node-version: ${{env.NODE_VERSION}}
33+
2834
- name: Use Python ${{env.PYTHON_VERSION}}
2935
uses: actions/setup-python@v2
3036
with:

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
env:
1111
PYTHON_VERSION: 3.8
12+
NODE_VERSION: 12.15.0
1213
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.
1314
# Key for the cache created at the end of the the 'Cache ./pythonFiles/lib/python' step.
1415
CACHE_PYTHONFILES: cache-pvsc-pythonFiles
@@ -27,6 +28,11 @@ jobs:
2728
- name: Checkout
2829
uses: actions/checkout@v2
2930

31+
- name: Use Node ${{env.NODE_VERSION}}
32+
uses: actions/[email protected]
33+
with:
34+
node-version: ${{env.NODE_VERSION}}
35+
3036
- name: Use Python ${{env.PYTHON_VERSION}}
3137
uses: actions/setup-python@v2
3238
with:

0 commit comments

Comments
 (0)