Skip to content

(BETA) LC-173: Migrate LambdaCurry/forms to ShadCN tailwind V4 #166

(BETA) LC-173: Migrate LambdaCurry/forms to ShadCN tailwind V4

(BETA) LC-173: Migrate LambdaCurry/forms to ShadCN tailwind V4 #166

Workflow file for this run

name: Run Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '22.9.0'
- name: Setup Yarn Corepack
run: corepack enable
- name: Install dependencies
run: yarn install
- uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Install Playwright Chromium
run: npx playwright install chromium
- name: Build Storybook
run: yarn build-storybook
- name: Start Storybook server
run: yarn workspace @lambdacurry/forms-docs storybook --ci --port 6006 &
env:
NODE_OPTIONS: --max-old-space-size=4096
- name: Wait for Storybook to be ready
run: npx wait-on http://localhost:6006
- name: Run tests
run: yarn test
- name: Upload artifacts on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-failure
path: packages/components/storybook-static
retention-days: 2