chore(deps): bump undici from 7.24.1 to 7.28.0 #125
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: | |
| branches: [main] | |
| env: | |
| DATABASE_URL: "file:${{ github.workspace }}/test.db" | |
| NEXTAUTH_SECRET: "test-secret-that-is-at-least-32-characters-long" | |
| NEXT_PUBLIC_APP_URL: "http://localhost:3000" | |
| GITHUB_APP_ID: "999999" | |
| GITHUB_APP_PRIVATE_KEY: "dummy-key-for-testing" | |
| GITHUB_WEBHOOK_SECRET: "test-webhook-secret" | |
| GITHUB_OWNER_CLIENT_ID: "test-owner-client-id" | |
| GITHUB_OWNER_CLIENT_SECRET: "test-owner-client-secret" | |
| GITHUB_CONTRIBUTOR_CLIENT_ID: "test-contributor-client-id" | |
| GITHUB_CONTRIBUTOR_CLIENT_SECRET: "test-contributor-client-secret" | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Cache node_modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
| restore-keys: node-modules-${{ runner.os }}- | |
| - run: npm ci | |
| - run: npx prisma generate | |
| - run: npm run lint | |
| - run: npx tsc --noEmit | |
| - run: npm test | |
| - run: npm run build | |
| e2e: | |
| needs: ci | |
| runs-on: ubuntu-latest | |
| env: | |
| PRISMA_USER_CONSENT_FOR_DANGEROUS_AI_ACTION: "Yes, proceed" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Cache node_modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: node_modules | |
| key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
| restore-keys: node-modules-${{ runner.os }}- | |
| - run: npm ci | |
| - run: npx prisma generate | |
| - name: Cache Playwright browsers | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
| restore-keys: playwright-${{ runner.os }}- | |
| - run: npx playwright install --with-deps chromium | |
| - run: npm run test:e2e | |
| - name: Upload Playwright report | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 14 |