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

+4
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

+4
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

+4
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

+4
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

+4
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

+4
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

+4
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

+4
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

+4
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

+4
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

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

+4
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/esbuild-transpiler
2125
- run: yarn workspace @hono/esbuild-transpiler build
2226
- run: yarn workspace @hono/esbuild-transpiler publint

.github/workflows/ci-event-emitter.yml

+4
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/event-emitter
2125
- run: yarn workspace @hono/event-emitter build
2226
- run: yarn workspace @hono/event-emitter publint

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

+4
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/firebase-auth
2125
- run: yarn workspace @hono/firebase-auth build
2226
- run: yarn workspace @hono/firebase-auth publint

.github/workflows/ci-graphql-server.yml

+4
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/graphql-server
2125
- run: yarn workspace @hono/graphql-server build
2226
- run: yarn workspace @hono/graphql-server publint

.github/workflows/ci-hello.yml

+4
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/hello
2125
- run: yarn workspace @hono/hello build
2226
- run: yarn workspace @hono/hello publint

.github/workflows/ci-medley-router.yml

+4
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/medley-router
2125
- run: yarn workspace @hono/medley-router build
2226
- run: yarn workspace @hono/medley-router publint

.github/workflows/ci-node-ws.yml

+4
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/node-ws
2125
- run: yarn workspace @hono/node-ws build
2226
- run: yarn workspace @hono/node-ws publint

.github/workflows/ci-oauth-providers.yml

+4
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/oauth-providers
2125
- run: yarn workspace @hono/oauth-providers build
2226
- run: yarn workspace @hono/oauth-providers publint

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

+4
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/oidc-auth
2125
- run: yarn workspace @hono/oidc-auth build
2226
- run: yarn workspace @hono/oidc-auth publint

.github/workflows/ci-otel.yml

+4
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/otel
2125
- run: yarn workspace @hono/otel build
2226
- run: yarn workspace @hono/otel publint

.github/workflows/ci-prometheus.yml

+4
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/prometheus
2125
- run: yarn workspace @hono/prometheus build
2226
- run: yarn workspace @hono/prometheus publint

.github/workflows/ci-qwik-city.yml

+4
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/qwik-city
2125
- run: yarn workspace @hono/qwik-city build
2226
- run: yarn workspace @hono/qwik-city publint

.github/workflows/ci-react-compat.yml

+4
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/react-compat
2125
- run: yarn workspace @hono/react-compat build
2226
- run: yarn workspace @hono/react-compat publint

.github/workflows/ci-react-renderer.yml

+4
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/react-renderer
2125
- run: yarn workspace @hono/react-renderer build
2226
- run: yarn workspace @hono/react-renderer publint

.github/workflows/ci-sentry.yml

+4
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/sentry
2125
- run: yarn workspace @hono/sentry build
2226
- run: yarn workspace @hono/sentry publint

0 commit comments

Comments
 (0)