fix: add frontend lockfile and CI updates #18
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 | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
| schedule: | ||
| - cron: "17 3 * * 1" | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| audit: | ||
| name: Dependency Audit | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
| - name: Install frontend dependencies | ||
| working-directory: frontend | ||
| run: npm install | ||
| - name: npm audit | ||
| working-directory: frontend | ||
| run: npm audit --audit-level=high | ||
| - name: Cargo audit placeholder | ||
| run: echo "TODO: Install and run cargo-audit once the dependency policy is finalized." | ||