Detect openapi definitions from hono-zod-openapi apps #298
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check and build the website | |
on: | |
pull_request: | |
branches: | |
- "*" | |
paths: | |
- "www/**" | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
env: | |
CI: true | |
- name: Lint website | |
run: pnpm --filter www lint:ci | |
- name: Build website | |
run: pnpm build:www |