feat: unsubscribe API, packs auth gating, analytics tracking, repo cl… #28
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: Web CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'packages/web/**' | |
| - 'packages/shared/**' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'packages/web/**' | |
| - 'packages/shared/**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'pnpm' | |
| - run: pnpm install --frozen-lockfile | |
| - name: Lint | |
| run: pnpm --filter @qaskills/shared build && pnpm --filter @qaskills/web lint | |
| - name: Type check | |
| run: pnpm --filter @qaskills/web lint | |
| - name: Build | |
| run: pnpm --filter @qaskills/web build | |
| env: | |
| NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ secrets.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} | |
| CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }} | |
| DATABASE_URL: ${{ secrets.DATABASE_URL }} |