Skip to content

Commit 0cf4f34

Browse files
committed
Upgraded min nodejs version to v14
1 parent 5441300 commit 0cf4f34

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-node@v1
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
1717
with:
18-
node-version: 12
18+
node-version: 14
1919
- run: npm install
2020
- run: npm run lint
2121
- run: npm run build

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 12
17+
node-version: 14
1818
registry-url: 'https://registry.npmjs.org'
1919
- run: npm install
2020
- run: bash ./prepare-release.sh

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"devDependencies": {
3232
"@types/chai": "~4.2.11",
3333
"@types/mocha": "~7.0.2",
34-
"@types/node": "~13.13.4",
34+
"@types/node": "~14.18.26",
3535
"chai": "~4.2.0",
3636
"mocha": "~8.0.1",
3737
"npm-run-all": "~4.1.5",

tsconfig.base.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"compilerOptions": {
33
"baseUrl": "./",
44
"declaration": false,
5-
"lib": ["es2015", "es2016"],
5+
"lib": ["es2020"],
6+
"module": "commonjs",
67
"newLine": "LF",
78
"noEmitOnError": true,
89
"noFallthroughCasesInSwitch": true,
@@ -11,7 +12,7 @@
1112
"outDir": "./lib",
1213
"rootDir": "./",
1314
"strict": true,
14-
"target": "es5",
15+
"target": "es2020",
1516
"types": []
1617
}
1718
}

0 commit comments

Comments
 (0)