Skip to content

clients/redirect: add redirections for subscriptions and funding #3242

clients/redirect: add redirections for subscriptions and funding

clients/redirect: add redirections for subscriptions and funding #3242

Workflow file for this run

name: Chromatic
on:
push:
paths:
- clients/**
jobs:
chromatic-deployment:
name: "Publish 🎨"
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0 # chromatic requires the full history for it's smartness
- uses: pnpm/[email protected]
with:
version: 8.7.0
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: v18
cache: "pnpm"
cache-dependency-path: "clients/pnpm-lock.yaml"
- name: Install dependencies
working-directory: ./clients
run: pnpm install
- name: Build SDK
working-directory: ./clients
run: pnpm turbo run build --filter=@polar-sh/sdk
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CI_CHROMATIC_PROJECT_TOKEN }}
workingDir: ./clients/apps/web
onlyChanged: true
exitOnceUploaded: true