Skip to content

Update react monorepo to v19.0.0-beta-e1e972c-20250221 #14

Update react monorepo to v19.0.0-beta-e1e972c-20250221

Update react monorepo to v19.0.0-beta-e1e972c-20250221 #14

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9.0.0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Lint code
run: pnpm lint
- name: Run unit tests
run: pnpm test
- name: Setup Playwright
uses: microsoft/playwright-github-action@v1
with:
browsers: chromium, firefox, webkit
- name: Run E2E tests
run: pnpm test:e2e
build-and-deploy:
needs: lint-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9.0.0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build project
run: pnpm build
- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
github-comment: true
github-deployment: true