fix: improve search bar and header in Tasks page #61
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: Security - Dependency Vulnerability Scan | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| schedule: | |
| - cron: '0 9 * * 1' # Every Monday at 9am UTC | |
| jobs: | |
| audit: | |
| name: npm audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run security audit (fail on high/critical) | |
| run: npm audit --audit-level=high | |
| - name: Generate JSON audit report | |
| if: always() | |
| run: npm audit --json > npm-audit-report.json || true | |
| - name: Upload audit report as artifact | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: npm-audit-report | |
| path: npm-audit-report.json | |
| retention-days: 30 |