Skip to content

Commit 57075a8

Browse files
ci: run tests with hono resolution matrix
1 parent b0e0d40 commit 57075a8

File tree

39 files changed

+16
-184
lines changed

39 files changed

+16
-184
lines changed

.github/workflows/ci-zod-openapi.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-version: ['hono@^4.0.0']
1518
steps:
1619
- uses: actions/checkout@v4
1720
- uses: actions/setup-node@v4
1821
with:
1922
node-version: 20.x
23+
- run: yarn add ${{ matrix.hono-version }} --mode=update-lockfile
2024
- run: yarn workspaces focus hono-middleware @hono/zod-openapi
21-
- run: yarn workspace @hono/zod-openapi build
25+
- run: yarn workspaces foreach --topological --recursive --from @hono/zod-openapi run build
2226
- run: yarn workspace @hono/zod-openapi publint
2327
- run: yarn test --coverage --project @hono/zod-openapi
2428
- uses: codecov/codecov-action@v5

.github/workflows/ci-zod-validator.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-version: ['hono@^3.0.0', 'hono@^4.0.0']
1518
steps:
1619
- uses: actions/checkout@v4
1720
- uses: actions/setup-node@v4
1821
with:
1922
node-version: 20.x
23+
- run: yarn add ${{ matrix.hono-version }} --mode=update-lockfile
2024
- run: yarn workspaces focus hono-middleware @hono/zod-validator
21-
- run: yarn workspace @hono/zod-validator build
25+
- run: yarn workspaces foreach --topological --recursive --from @hono/zod-validator run build
2226
- run: yarn workspace @hono/zod-validator publint
2327
- run: yarn test --coverage --project @hono/zod-validator
2428
- uses: codecov/codecov-action@v5

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"@typescript-eslint/parser": "^8.7.0",
6969
"@vitest/coverage-istanbul": "^3.0.8",
7070
"eslint": "^9.17.0",
71+
"hono": "*",
7172
"npm-run-all2": "^6.2.2",
7273
"prettier": "^2.7.1",
7374
"tsup": "^8.4.0",

packages/ajv-validator/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"devDependencies": {
4545
"@arethetypeswrong/cli": "^0.17.4",
4646
"ajv": ">=8.12.0",
47-
"hono": "^4.4.12",
4847
"publint": "^0.3.9",
4948
"tsup": "^8.4.0",
5049
"vitest": "^3.0.8"

packages/arktype-validator/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"devDependencies": {
4646
"@arethetypeswrong/cli": "^0.17.4",
4747
"arktype": "^2.0.0-dev.14",
48-
"hono": "^3.11.7",
4948
"publint": "^0.3.9",
5049
"tsup": "^8.4.0",
5150
"vitest": "^3.0.8"

packages/auth-js/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
"@arethetypeswrong/cli": "^0.17.4",
6363
"@auth/core": "^0.35.3",
6464
"@types/react": "^18",
65-
"hono": "^3.11.7",
6665
"publint": "^0.3.9",
6766
"react": "^18.2.0",
6867
"tsup": "^8.4.0",

packages/bun-transpiler/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"devDependencies": {
4545
"@arethetypeswrong/cli": "^0.17.4",
4646
"@types/bun": "^1.0.0",
47-
"hono": "^3.11.7",
4847
"publint": "^0.3.9",
4948
"tsup": "^8.4.0",
5049
"vitest": "^3.0.8"

packages/casbin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"devDependencies": {
5656
"@arethetypeswrong/cli": "^0.17.4",
5757
"casbin": "^5.30.0",
58-
"hono": "^4.5.11",
5958
"publint": "^0.3.9",
6059
"tsup": "^8.4.0",
6160
"vitest": "^3.0.8"

packages/class-validator/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
},
4545
"devDependencies": {
4646
"@arethetypeswrong/cli": "^0.17.4",
47-
"hono": "^4.0.10",
4847
"publint": "^0.3.9",
4948
"tsup": "^8.4.0",
5049
"vitest": "^3.0.8"

packages/clerk-auth/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"@arethetypeswrong/cli": "^0.17.4",
4747
"@clerk/backend": "^1.0.0",
4848
"@types/react": "^18",
49-
"hono": "^3.11.7",
5049
"publint": "^0.3.9",
5150
"react": "^18.2.0",
5251
"tsup": "^8.4.0",

0 commit comments

Comments
 (0)