Skip to content

DVP-27, DVP-28, DVP-29: Autogenerate api references using starlight openapi plugin,migrate overview page with playgrounds #283

DVP-27, DVP-28, DVP-29: Autogenerate api references using starlight openapi plugin,migrate overview page with playgrounds

DVP-27, DVP-28, DVP-29: Autogenerate api references using starlight openapi plugin,migrate overview page with playgrounds #283

Workflow file for this run

name: Acceptance
on:
pull_request:
branches:
- main
- release*
- staging
- devrel-content
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Check Typos
uses: crate-ci/typos@master
with:
files: ./src/*
config: ./typos.toml
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Setup Python for importing docs
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Setup submodules
run: git submodule update --init && pnpm run import:utils-ts
- name: Install Dependencies
run: pnpm install
- name: Lint Codebase
run: pnpm run lint
build:
runs-on: ubuntu-latest
needs:
- lint
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install D2
run: curl -fsSL https://d2lang.com/install.sh | sh -s --
- name: Setup Python for importing docs
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Dependencies
run: pnpm install
- name: Run Build
run: pnpm run build