Chore: Update @radix-ui/react-dialog and related dependencies to late… #3
This file contains hidden or 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: Deploy to Vercel | |
on: | |
push: | |
branches: | |
- platform-user-dev # Ajusta el nombre de la rama según corresponda | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
cache-dependency-path: frontend/platform/package-lock.json | |
- name: Install Vercel CLI | |
run: npm install --global vercel@latest | |
- name: Navigate to project directory | |
run: cd frontend/platform | |
- name: Pull Vercel Environment Information | |
run: | | |
cd frontend/platform | |
vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Build Project Artifacts | |
run: | | |
cd frontend/platform | |
vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Deploy Project Artifacts to Vercel | |
run: | | |
cd frontend/platform | |
vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} |