File tree Expand file tree Collapse file tree 6 files changed +15
-10
lines changed Expand file tree Collapse file tree 6 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 2929 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
3030 with :
3131 node-version : ${{ matrix.node }}
32+
33+ - uses : utooland/setup-utoo@v1
3234
3335 - name : Install dependencies
34- run : npm i -g npminstall && npminstall
36+ run : ut
3537
3638 - name : Test
37- run : npm run ci
39+ run : ut ci
Original file line number Diff line number Diff line change 77 cd " $1 "
88 pwd
99 rm -rf node_modules package-lock.json
10- npmupdate -c
11- npm run ci
10+ ut
11+ ut ci
1212 cd ..
1313}
1414
Original file line number Diff line number Diff line change 77 },
88 "devDependencies" : {
99 "@eggjs/bin" : " beta" ,
10- "@eggjs/mock" : " beta"
10+ "@eggjs/mock" : " beta" ,
11+ "koa-compose" : " 4.1.0"
1112 },
1213 "scripts" : {
1314 "dev" : " egg-bin dev" ,
Original file line number Diff line number Diff line change 3737 "@eggjs/mock" : " beta" ,
3838 "eslint" : " 8" ,
3939 "eslint-config-egg" : " 14" ,
40- "typescript" : " 5"
40+ "typescript" : " 5" ,
41+ "koa-compose" : " 4.1.0"
4142 },
4243 "repository" : " git@github.com:eggjs/examples.git" ,
4344 "engines" : {
Original file line number Diff line number Diff line change 1414 "@types/node" : " 22" ,
1515 "eslint" : " 8" ,
1616 "eslint-config-egg" : " 14" ,
17- "typescript" : " 5"
17+ "typescript" : " 5" ,
18+ "koa-compose" : " 4.1.0"
1819 },
1920 "scripts" : {
2021 "start" : " eggctl start --daemon" ,
Original file line number Diff line number Diff line change 1212 "globby" : " ^6.1.0" ,
1313 "runscript" : " ^1.5.3" ,
1414 "semver" : " ^5.3.0" ,
15- "npminstall " : " ^7.12 .0"
15+ "koa-compose " : " 4.1 .0"
1616 },
1717 "scripts" : {
1818 "lint" : " echo 'ignore'" ,
1919 "test" : " ./bin/test.sh" ,
2020 "test-cn" : " ./example.js test -c" ,
21- "ci" : " npm test" ,
21+ "ci" : " npm run test" ,
2222 "list" : " ./example.js list"
2323 },
2424 "homepage" : " https://github.com/eggjs/examples" ,
3434 },
3535 "license" : " MIT" ,
3636 "private" : true
37- }
37+ }
You can’t perform that action at this time.
0 commit comments