Skip to content

perf(ci): build application on vercel instead of on GitHub Action #9

perf(ci): build application on vercel instead of on GitHub Action

perf(ci): build application on vercel instead of on GitHub Action #9

Workflow file for this run

name: Deployment
on:
push:
env:
ASTRO_TELEMETRY_DISABLED: true
jobs:
main:
runs-on: ubuntu-latest
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- name: Set up source code
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v2
- name: Set up nodejs
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check application styles
run: pnpm check
- name: Deploy application
run: pnpm prod:deploy --token=${{ secrets.VERCEL_TOKEN }}