Skip to content

refactor to ssr

refactor to ssr #340

Workflow file for this run

name: CI/CD
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
BASE_URL: ${{ vars.BASE_URL }}
on: push
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn workspace @digital-garden/blog run test
- run: yarn workspace @digital-garden/blog run build:client
- run: yarn workspace @digital-garden/blog run build:server
- run: yarn workspace @digital-garden/blog run e2e:setup --with-deps
- run: yarn workspace @digital-garden/blog run e2e
- uses: actions/upload-artifact@v4
with:
name: playwright-report
path: ./packages/blog/playwright-report/
retention-days: 30