Skip to content

chore(deps): bump fast-xml-parser from 5.3.4 to 5.5.9 #140

chore(deps): bump fast-xml-parser from 5.3.4 to 5.5.9

chore(deps): bump fast-xml-parser from 5.3.4 to 5.5.9 #140

Workflow file for this run

name: Deploy to Vercel
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies and build
run: npm run build:ci
env:
NEXT_PUBLIC_DEPLOY_TIME: ${{ github.event.head_commit.timestamp }}
- name: Run format check
run: npm run format:check --if-present
- name: Run linting
run: npm run lint --if-present
- name: Run tests
run: npm run test --if-present
- name: Install Vercel CLI
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: npm install -g vercel@latest
- name: Deploy to Vercel (Production)
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: vercel deploy --prod --archive=tgz --yes --token=${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
- name: Deploy to Vercel (Preview)
if: github.event_name == 'pull_request'
run: vercel deploy --archive=tgz --yes --token=${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}