Skip to content

Vulnerability Audit #83

Vulnerability Audit

Vulnerability Audit #83

Workflow file for this run

name: Vulnerability Audit
on:
push:
branches:
- main
paths:
- '.github/workflows/audit.yml'
pull_request:
paths:
- '.github/workflows/audit.yml'
schedule:
- cron: '00 23 * * *' # Runs at midnight UTC every day
permissions:
contents: read
jobs:
audit:
name: Audit
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
nodejs.org:443
release-assets.githubusercontent.com:443
registry.npmjs.org:443
- name: Checkout the repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: 10
- name: Install Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 24
cache: pnpm
- name: Check dependencies for vulnerabilities
run: node --run test:audit