Skip to content

Commit b32a24b

Browse files
committed
Update node to 14 in CI and CD
Signed-off-by: David Thompson <[email protected]>
1 parent 3acec3f commit b32a24b

File tree

4 files changed

+38
-35
lines changed

4 files changed

+38
-35
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,23 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
os: [ubuntu-latest, macos-latest]
12+
os: [
13+
ubuntu-latest,
14+
# macos-latest
15+
]
1316
include:
1417
- os: ubuntu-latest
1518
label: 'linux'
16-
- os: macos-latest
17-
label: 'darwin'
19+
# - os: macos-latest
20+
# label: 'darwin'
1821
steps:
1922
- name: Check out repository code
2023
uses: actions/checkout@v2
2124
- uses: actions/setup-node@v2
2225
with:
23-
node-version: '12.x'
26+
node-version: '14.x'
2427
- name: Install vsce
25-
run: npm i -g "vsce@<2"
28+
run: npm i -g vsce
2629
- name: Install dependencies
2730
run: npm i
2831
- name: Compile extension

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ node('rhel8'){
2727
}
2828

2929
stage('Install requirements') {
30-
def nodeHome = tool 'nodejs-12.13.1'
30+
def nodeHome = tool 'nodejs-14.19.1'
3131
env.PATH="${env.PATH}:${nodeHome}/bin"
32-
sh 'npm install -g typescript "vsce@<2"'
32+
sh 'npm install -g typescript vsce'
3333
}
3434

3535
stage('Build') {
@@ -88,7 +88,7 @@ node('rhel8'){
8888
}
8989

9090
// open-vsx Marketplace
91-
sh 'npm install -g "ovsx@<0.3.0"'
91+
sh 'npm install -g ovsx'
9292
withCredentials([[$class: 'StringBinding', credentialsId: 'open-vsx-access-token', variable: 'OVSX_TOKEN']]) {
9393
sh 'ovsx publish -p ${OVSX_TOKEN}' + " ${vsix[0].path}"
9494
}

package-lock.json

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,4 +471,4 @@
471471
"which": "^2.0.2",
472472
"yauzl": "^2.10.0"
473473
}
474-
}
474+
}

0 commit comments

Comments
 (0)