Skip to content

Commit e0339bc

Browse files
ci: run tests with hono resolution matrix
1 parent 9a98e38 commit e0339bc

File tree

72 files changed

+149
-182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+149
-182
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/ajv-validator
2125
- run: yarn workspace @hono/ajv-validator build
2226
- run: yarn workspace @hono/ajv-validator publint

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/arktype-validator
2125
- run: yarn workspace @hono/arktype-validator build
2226
- run: yarn workspace @hono/arktype-validator publint

.github/workflows/ci-auth-js.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/auth-js
2125
- run: yarn workspace @hono/auth-js build
2226
- run: yarn workspace @hono/auth-js publint

.github/workflows/ci-bun-transpiler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^4.0.0']
1518
steps:
1619
- uses: actions/checkout@v4
1720
- uses: oven-sh/setup-bun@v1
1821
with:
1922
bun-version: 1.1.32
23+
- run: yarn set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/bun-transpiler
2125
- run: yarn workspace @hono/bun-transpiler build
2226
- run: yarn workspace @hono/bun-transpiler publint

.github/workflows/ci-casbin.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/casbin
2125
- run: yarn workspace @hono/casbin build
2226
- run: yarn workspace @hono/casbin publint

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/class-validator
2125
- run: yarn workspace @hono/class-validator build
2226
- run: yarn workspace @hono/class-validator publint

.github/workflows/ci-clerk-auth.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/clerk-auth
2125
- run: yarn workspace @hono/clerk-auth build
2226
- run: yarn workspace @hono/clerk-auth publint

.github/workflows/ci-cloudflare-access.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/cloudflare-access
2125
- run: yarn workspace @hono/cloudflare-access build
2226
- run: yarn workspace @hono/cloudflare-access publint

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/conform-validator
2125
- run: yarn workspace @hono/conform-validator build
2226
- run: yarn workspace @hono/conform-validator publint

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
ci:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
hono-resolution: ['npm:^3.0.0', 'npm:^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 set resolution "hono@npm:*" ${{ matrix.hono-resolution }}
2024
- run: yarn workspaces focus hono-middleware @hono/effect-validator
2125
- run: yarn workspace @hono/effect-validator build
2226
- run: yarn workspace @hono/effect-validator publint

0 commit comments

Comments
 (0)