refactor(resume): consolidate resume PDF generation scripts and updat… #147
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: CI | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| check: | |
| name: Lint, Typecheck, Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check dependency versions | |
| run: npm run sync:check | |
| - name: Lint code | |
| run: npm run lint | |
| - name: Type check | |
| run: npm run check-types | |
| - name: Build packages and apps | |
| run: npm run build | |
| env: | |
| RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} | |
| CONTACT_EMAIL: ${{ vars.CONTACT_EMAIL }} |