内部のメディアプロキシ・サマリープロキシの動作を変更 (#363) #792
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: Validate api.json | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- develop-mame | |
pull_request: | |
permissions: {} | |
jobs: | |
validate-api-json: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: '.node-version' | |
cache: 'pnpm' | |
- name: Install Redocly CLI | |
run: npm i -g @redocly/cli | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Check if lock file is not modified | |
run: git diff --exit-code pnpm-lock.yaml | |
- name: Copy config file | |
run: cp .config/example.yml .config/default.yml | |
- name: Pre-build | |
run: pnpm run build-pre | |
- name: Generate api.json | |
run: pnpm --filter backend run generate-api-json | |
- name: Validate api.json | |
run: npx @redocly/cli lint --extends=minimal ./packages/backend/built/api.json |