clients/modal: add animation to modals #9281
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Client | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
build: | |
name: "Client: Tests 🎨" | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
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-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
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/* | |
- name: Build | |
working-directory: ./clients/apps/web | |
run: pnpm build-storybook |