Skip to content

docs: update API specs to match current backend behavior #99

docs: update API specs to match current backend behavior

docs: update API specs to match current backend behavior #99

Workflow file for this run

name: Test a documentation PR
on:
# Triggers the workflow on a pull request event in all branches
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Enable Corepack
run: corepack enable
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: |
${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install packages
run: pnpm install
- name: Check formatting
run: pnpm format:check
- name: Run linter
run: pnpm lint
- name: Build VitePress
run: pnpm docs:build