Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
with:
node-version: ${{ matrix.node }}

- uses: utooland/setup-utoo@v1

- name: Install dependencies
run: npm i -g npminstall && npminstall
run: ut

- name: Test
run: npm run ci
run: ut ci
4 changes: 2 additions & 2 deletions bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ test() {
cd "$1"
pwd
rm -rf node_modules package-lock.json
npmupdate -c
npm run ci
ut
ut ci
cd ..
}

Expand Down
3 changes: 2 additions & 1 deletion body-parser-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
},
"devDependencies": {
"@eggjs/bin": "beta",
"@eggjs/mock": "beta"
"@eggjs/mock": "beta",
"koa-compose": "4.1.0"
},
"scripts": {
"dev": "egg-bin dev",
Expand Down
3 changes: 2 additions & 1 deletion hello-tegg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"@eggjs/mock": "beta",
"eslint": "8",
"eslint-config-egg": "14",
"typescript": "5"
"typescript": "5",
"koa-compose": "4.1.0"
},
"repository": "[email protected]:eggjs/examples.git",
"engines": {
Expand Down
3 changes: 2 additions & 1 deletion helloworld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"@types/node": "22",
"eslint": "8",
"eslint-config-egg": "14",
"typescript": "5"
"typescript": "5",
"koa-compose": "4.1.0"
},
"scripts": {
"start": "eggctl start --daemon",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"globby": "^6.1.0",
"runscript": "^1.5.3",
"semver": "^5.3.0",
"npminstall": "^7.12.0"
"koa-compose": "4.1.0"
},
"scripts": {
"lint": "echo 'ignore'",
"test": "./bin/test.sh",
"test-cn": "./example.js test -c",
"ci": "npm test",
"ci": "npm run test",
"list": "./example.js list"
},
"homepage": "https://github.com/eggjs/examples",
Expand All @@ -34,4 +34,4 @@
},
"license": "MIT",
"private": true
}
}