Install Vercel Web Analytics Integration #22
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: Security Scan | |
| on: | |
| schedule: | |
| - cron: '0 1 * * 1' # Every Monday at 9:00 AM Beijing time (UTC+8) | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| audit: | |
| name: Dependency Audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm ci | |
| - name: npm audit | |
| run: npm audit --audit-level=high | |
| continue-on-error: true | |
| - name: License audit | |
| run: npx license-checker --production --out licenses.csv --csv |