Skip to content

Commit efa7c9c

Browse files
committed
chore(): bump build version to node LTS, bump webpack version, update gh action to run lint check
1 parent aadb034 commit efa7c9c

File tree

5 files changed

+111
-91
lines changed

5 files changed

+111
-91
lines changed

.github/workflows/e2etest.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,12 @@ jobs:
3030
- name: Install
3131
run: npm ci --ignore-scripts
3232

33-
- name: Build
33+
- name: Check Build
3434
run: npm run build
3535

36+
- name: Check Lint
37+
run: npm run lint
38+
3639
- name: Test
3740
run: npm run test
3841
env:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.11.0
1+
v22.11.0

package-lock.json

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

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"build:clean": "npm run clean && npm run build",
1717
"build:watch": "npm run clean && tsc --watch",
1818
"pack": "webpack --config webpack/webpack.config.js",
19+
"lint": "eslint src",
1920
"prepublish": "npm run build:clean",
2021
"betapublish": "npm publish --tag beta"
2122
},
@@ -37,9 +38,9 @@
3738
"optionalDependencies": {
3839
"source-map-loader": "^4.0.0",
3940
"ts-loader": "^9.3.1",
40-
"webpack": "^5.4.0",
41-
"webpack-bundle-analyzer": "^4.1.0",
42-
"webpack-cli": "^4.2.0"
41+
"webpack": "^5.74.0",
42+
"webpack-bundle-analyzer": "^4.6.1",
43+
"webpack-cli": "^4.10.0"
4344
},
4445
"keywords": [
4546
"okx",

0 commit comments

Comments
 (0)