update: clamp text polinema ui at footer #21
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: Production CI/CD Pipeline | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| validate-and-test: | |
| name: Continuous Integration (CI) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun environment | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run code linting | |
| run: bun run lint | |
| - name: Run TypeScript and Svelte type-checks | |
| run: bun run check | |
| - name: Execute unit tests | |
| run: bun run test:unit -- --run | |
| - name: Build project | |
| run: bun run build | |
| # deploy: | |
| # name: Continuous Deployment (CD) | |
| # needs: validate-and-test | |
| # if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| # runs-on: ubuntu-latest | |
| # environment: production | |
| # steps: | |
| # - name: Checkout repository | |
| # uses: actions/checkout@v4 | |
| # - name: Setup Bun environment | |
| # uses: oven-sh/setup-bun@v2 | |
| # with: | |
| # bun-version: latest | |
| # - name: Install Vercel CLI globally | |
| # run: bun add -g vercel@latest | |
| # - name: Pull Vercel environment configurations | |
| # run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | |
| # - name: Build Vercel production artifacts | |
| # run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} | |
| # - name: Deploy artifacts to Vercel production | |
| # run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} | |
| # env: | |
| # VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
| # VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} |