Skip to content

Update pricing schema: Replace price field with retailPrice and `… #29

Update pricing schema: Replace price field with retailPrice and `…

Update pricing schema: Replace price field with retailPrice and `… #29

Workflow file for this run

name: Build & deploy partner API docs
on:
pull_request:
push:
branches: [main]
# Pages allows only one in-flight deploy per repo; queue rather than fail.
concurrency:
group: pages
cancel-in-progress: false
jobs:
spec:
name: Lint & build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
- run: corepack enable
- run: yarn install --immutable
- run: yarn lint
- run: yarn build
- uses: actions/upload-artifact@v4
with:
name: partner-api-dist
path: dist/
deploy-docs:
if: github.ref == 'refs/heads/main'
needs: spec
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- uses: actions/download-artifact@v4
with:
name: partner-api-dist
path: dist
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: dist
- id: deploy
uses: actions/deploy-pages@v4