Skip to content

Commit af7bef3

Browse files
committed
update node js version and build libs
1 parent 9341aa2 commit af7bef3

File tree

10 files changed

+7173
-6201
lines changed

10 files changed

+7173
-6201
lines changed

.babelrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
2-
"plugins": ["@babel/plugin-proposal-class-properties"],
2+
"plugins": [
3+
["@babel/plugin-transform-class-properties", { "loose": true }],
4+
"@babel/plugin-transform-optional-chaining"
5+
],
36
"presets": [
47
"@babel/preset-typescript",
58
[

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [12.x]
16+
node-version: [20.x]
1717

1818
steps:
1919
- uses: actions/checkout@v1

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [12.x]
15+
node-version: [20.x]
1616

1717
steps:
1818
- uses: actions/checkout@v1
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v1
3636
- uses: actions/setup-node@v1
3737
with:
38-
node-version: 12
38+
node-version: 20
3939
registry-url: https://registry.npmjs.org/
4040
- name: NPM Publish
4141
run: |

.mocharc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"coverage": true,
3-
"require": ["esm", "./babel-register.js"],
3+
"require": ["./babel-register.js"],
44
"exit": true,
55
"timeout": "40000"
6-
}
6+
}

0 commit comments

Comments
 (0)