Skip to content

Implement Enterprise-Grade Automated Testing Infrastructure #75

Implement Enterprise-Grade Automated Testing Infrastructure

Implement Enterprise-Grade Automated Testing Infrastructure #75

Workflow file for this run

name: Security Audit
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
schedule:
- cron: "0 6 * * 1"
permissions:
contents: read
jobs:
npm-audit:
name: npm audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run audit (production)
run: pnpm audit --prod --audit-level=high
cargo-audit:
name: cargo audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Run cargo audit
run: cargo audit
working-directory: src-tauri