Skip to content

chore: ensure placeholder image text provides sufficient contrast #622

chore: ensure placeholder image text provides sufficient contrast

chore: ensure placeholder image text provides sufficient contrast #622

Workflow file for this run

name: Deploy preview docs from PR
concurrency: preview-${{ github.ref }}
on:
pull_request:
types:
- opened
- reopened
- synchronize
# `pr-preview-action` assumes by default that the preview should be removed during the closed event,
# which it only sees if you explicitly add it to the workflow.
- closed
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node 22
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Npm install and bootstrap
run: npm ci && npm run bootstrap
if: github.event.action != 'closed' # don't run install and bootstrap unnecessarily when pr is closed
- name: Build docs-app
run: npm run build:docs
if: github.event.action != 'closed'
- uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./packages/__docs__/__build__
preview-branch: gh-pages
umbrella-dir: pr-preview
action: auto