File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1+ name : NodeJS with Webpack
2+
3+ on :
4+ push :
5+ branches : [ "*" ]
6+ pull_request :
7+ branches : [ "*" ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v3
15+
16+ - name : Use Node.js current
17+ uses : actions/setup-node@v3
18+ with :
19+ node-version : current
20+
21+ - name : Build
22+ run : |
23+ npm install
24+ npm run build
Original file line number Diff line number Diff line change 88 "test:fix" : " npm run test -- --fix" ,
99 "start" : " npx webpack --config webpack.config.js --watch --mode=development" ,
1010 "build:app" : " npx webpack --config webpack.config.js --mode=production" ,
11- "build:cmd" : " cat src/miui_cleaner_cmd/main.cmd | iconv --from-code=utf-8 --to-code=gbk > dist/miui_cleaner_cmd/main.cmd" ,
11+ "build:cmd" : " mkdir -p dist/miui_cleaner_cmd && ( cat src/miui_cleaner_cmd/main.cmd | iconv --from-code=utf-8 --to-code=gbk > dist/miui_cleaner_cmd/main.cmd) " ,
1212 "build:pull" : " adb pull /sdcard/auto.js/miui_cleaner_app/dist/MiuiCleaner_v2022.9.21.4.apk ./dist/miui_cleaner_app/" ,
1313 "build" : " node project.js && npm run build:app && npm run build:cmd" ,
1414 "deploy:clear" : " rm -rf ./dist/miui_cleaner_app/*.map && rm -rf ./dist/miui_cleaner_app/*.apk" ,
You can’t perform that action at this time.
0 commit comments