feat(content-mind): add real trend sources for Valorant, fix stale St… #166
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: TypeScript Lint | |
| on: | |
| push: | |
| branches: [ master, main, develop ] | |
| pull_request: | |
| branches: [ '**' ] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.12.1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Type check | |
| run: pnpm run type-check || tsc --noEmit | |
| - name: Run ESLint | |
| run: pnpm run lint | |
| - name: Check code formatting | |
| run: npx prettier --check "**/*.{ts,tsx,md}" --ignore-path .prettierignore || true | |
| - name: Security audit | |
| run: | | |
| echo "Running security audit..." | |
| pnpm audit --production --audit-level=moderate || true | |
| echo "Checking for outdated dependencies..." | |
| pnpm outdated || true | |