Skip to content

Commit 0d692d7

Browse files
authored
feat!: upgrade Node.js to 14 LTS (#1399)
1 parent a723fa8 commit 0d692d7

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

.circleci/config.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,21 @@ version: 2.1
4646
orbs:
4747
win: circleci/[email protected]
4848
jobs:
49-
test-linux-12:
50-
docker:
51-
- image: circleci/node:12
52-
<<: *steps-ci
5349
test-linux-14:
5450
docker:
5551
- image: circleci/node:14
5652
<<: *steps-ci
53+
test-linux-16:
54+
docker:
55+
- image: circleci/node:16
56+
<<: *steps-ci
57+
test-linux-18:
58+
docker:
59+
- image: cimg/node:18.7.0
60+
<<: *steps-ci
5761
test-mac:
5862
macos:
59-
xcode: "11.7.0"
63+
xcode: "13.3.0"
6064
<<: *steps-ci
6165
test-windows:
6266
executor:
@@ -68,10 +72,13 @@ workflows:
6872
version: 2
6973
test:
7074
jobs:
71-
- test-linux-12:
75+
- test-linux-14:
7276
filters:
7377
branches: { ignore: gh-pages }
74-
- test-linux-14:
78+
- test-linux-16:
79+
filters:
80+
branches: { ignore: gh-pages }
81+
- test-linux-18:
7582
filters:
7683
branches: { ignore: gh-pages }
7784
- test-mac:

.github/workflows/canary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
repository: electron/electron-quick-start
1818
ref: refs/heads/master
1919
path: electron-quick-start
20-
- name: Use Node.js 10.x
20+
- name: Use Node.js 14.x
2121
uses: actions/[email protected]
2222
with:
23-
node-version: 10.x
23+
node-version: 14.x
2424
- name: Replace electron with electron-nightly
2525
run: |
2626
cd electron-quick-start

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
1717
- uses: actions/[email protected]
1818
with:
19-
node-version: 12.x
19+
node-version: 14.x
2020
- run: npm install --engine-strict --no-lockfile
2121
- run: npm run docs:build
2222
- uses: docker://malept/gha-gh-pages:1.3.0

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"rcedit": "^3.0.1",
4545
"resolve": "^1.1.6",
4646
"semver": "^7.1.3",
47-
"yargs-parser": "^20.2.9"
47+
"yargs-parser": "^21.1.1"
4848
},
4949
"devDependencies": {
5050
"@typescript-eslint/eslint-plugin": "^4.0.1",
@@ -66,7 +66,7 @@
6666
"typescript": "^4.0.2"
6767
},
6868
"engines": {
69-
"node": ">= 10.12.0"
69+
"node": ">= 14.17.5"
7070
},
7171
"scripts": {
7272
"ava": "ava test/index.js",

0 commit comments

Comments
 (0)