Skip to content

Commit c4dafa5

Browse files
authored
chore: upgrade Node.js from 12 to 14 (coder#635)
1 parent 25fa507 commit c4dafa5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Install Node.js
4848
uses: actions/setup-node@v2
4949
with:
50-
node-version: 12.x
50+
node-version: 14
5151

5252
- name: Install Node Modules
5353
run: yarn install

.github/workflows/preview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install Node.js
3939
uses: actions/setup-node@v2
4040
with:
41-
node-version: 12.x
41+
node-version: 14
4242

4343
- name: Cache Node Modules
4444
uses: actions/cache@v2

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"devDependencies": {
1818
"@types/minimist": "^1.2.2",
19-
"@types/node": "^12.20.26",
19+
"@types/node": "14.17.19",
2020
"@types/semver-compare": "^1.0.1",
2121
"all-contributors-cli": "^6.20.0",
2222
"husky": "^7.0.1",
@@ -29,7 +29,7 @@
2929
"typescript": "^4.4.2"
3030
},
3131
"engines": {
32-
"node": "^12.16.0"
32+
"node": "^14.17.6"
3333
},
3434
"private": true,
3535
"lint-staged": {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@
6767
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c"
6868
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==
6969

70-
"@types/node@^12.20.26":
71-
version "12.20.26"
72-
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.26.tgz#a6db0d0577e40844f0b28c2a9289c09e5b44b541"
73-
integrity sha512-gIt+h4u2uTho2bsH1K250fUv5fHU71ET1yWT7bM4523zV/XrFb9jlWBOV4DO8FpscY+Sz/WEr1EEjIP2H4yumQ==
70+
"@types/node@14.17.19":
71+
version "14.17.19"
72+
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.19.tgz#7341e9ac1b5d748d7a3ddc04336ed536a6f91c31"
73+
integrity sha512-jjYI6NkyfXykucU6ELEoT64QyKOdvaA6enOqKtP4xUsGY0X0ZUZz29fUmrTRo+7v7c6TgDu82q3GHHaCEkqZwA==
7474

7575
"@types/parse-json@^4.0.0":
7676
version "4.0.0"

0 commit comments

Comments
 (0)