Skip to content

server/user: fix UserSubscription schema #7792

server/user: fix UserSubscription schema

server/user: fix UserSubscription schema #7792

Workflow file for this run

name: Client
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
jobs:
build:
name: "Client: Tests 🎨"
timeout-minutes: 15
runs-on: ubuntu-22.04
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
POLAR_OPENAPI_SCHEMA_URL: ${{ vars.POLAR_OPENAPI_SCHEMA_URL }}
VERCEL_ENV: 'testing'
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.2.0
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version-file: clients/.node-version
cache: "pnpm"
cache-dependency-path: "clients/pnpm-lock.yaml"
- name: Install dependencies
working-directory: ./clients
run: pnpm install
- uses: actions/cache@v4
with:
path: |
./clients/apps/web/.next
key: next-${{ hashFiles('./clients/pnpm-lock.yaml') }}-${{ github.sha }}
restore-keys: |
next-${{ hashFiles('./clients/pnpm-lock.yaml') }}-
next-
- name: Build
working-directory: ./clients
run: pnpm build
- name: Test
working-directory: ./clients
run: pnpm test
build_storybook:
name: "Client: Storybook 🎨"
timeout-minutes: 15
runs-on: ubuntu-22.04
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
POLAR_OPENAPI_SCHEMA_URL: ${{ vars.POLAR_OPENAPI_SCHEMA_URL }}
VERCEL_ENV: 'testing'
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.2.0
- name: Setup Node.js environment
uses: actions/setup-node@v4
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: Build
working-directory: ./clients/apps/web
run: pnpm build-storybook