Mark OpenAPI properties as optional if not required #3691
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
NPM_TOKEN_READONLY: ${{ secrets.NPM_TOKEN_READONLY }} | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
name: Format | |
timeout-minutes: 6 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: ./.github/composite/setup-bun | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: 1 | |
- run: bun format:check | |
test: | |
runs-on: ubuntu-latest | |
name: Test | |
timeout-minutes: 6 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: ./.github/composite/setup-bun | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: 1 | |
- run: bun unit | |
build-oss: | |
# CI to check that the repository builds correctly on a machine without the credentials | |
runs-on: ubuntu-latest | |
name: Build (Open Source) | |
timeout-minutes: 6 | |
env: | |
NPM_TOKEN_READONLY: '' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: ./.github/composite/setup-bun | |
- name: Install dependencies | |
run: bun install | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: 1 | |
- run: bun run build | |
typecheck: | |
runs-on: ubuntu-latest | |
name: Typecheck | |
timeout-minutes: 6 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: ./.github/composite/setup-bun | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: 1 | |
- run: bun typecheck |