Skip to content

v2: Complete rewrite with SvelteKit, improved pipeline, and i18n support #1

v2: Complete rewrite with SvelteKit, improved pipeline, and i18n support

v2: Complete rewrite with SvelteKit, improved pipeline, and i18n support #1

Workflow file for this run

name: Deploy Web
on:
push:
branches: [main]
paths:
- 'apps/web/**'
- 'packages/**'
- 'pnpm-lock.yaml'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- run: pnpm install
- name: Build packages
run: pnpm --filter @shareskill/shared build && pnpm --filter @shareskill/db 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 }}
vercel-args: '--prod'
working-directory: apps/web