chore: bump the production-dependencies group across 1 directory with 9 updates #2791
Workflow file for this run
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: PR - Test & Build | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| WXT_SKIP_ENV_VALIDATION: true | |
| jobs: | |
| test-and-build: | |
| name: Test & Build | |
| runs-on: ubuntu-latest | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm and Node.js | |
| uses: pnpm/setup@v2 | |
| with: | |
| cache: true | |
| install: false | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| shell: bash | |
| - name: Check for eruda imports | |
| run: | | |
| if grep -r "import.*eruda" src/ --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" | grep -v ":.*[[:space:]]*//.*import.*eruda"; then | |
| echo "❌ Found uncommented eruda imports in the codebase!" | |
| echo "Please comment out or remove eruda imports before merging." | |
| exit 1 | |
| else | |
| echo "✅ No uncommented eruda imports found." | |
| fi | |
| shell: bash | |
| - name: Format check | |
| run: pnpm exec nx fmt:check | |
| - name: Lint and type check | |
| run: pnpm lint | |
| - name: Build | |
| run: pnpm build | |
| - name: Run tests | |
| run: pnpm test --exclude="**/free-api.test.ts" |