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

23 lines
534 B
YAML

name: ci-graphql-server
on:
push:
branches: [main]
paths:
- 'packages/graphql-server/**'
pull_request:
branches: ['*']
paths:
- 'packages/graphql-server/**'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: yarn workspaces focus hono-middleware @hono/graphql-server
- run: yarn workspace @hono/graphql-server build
- run: yarn test --project @hono/graphql-server