Skip to content

Audit

Audit #31

Workflow file for this run

---
name: "Audit"
on: # yamllint disable-line rule:truthy
push:
pull_request:
schedule:
- cron: "0 0 * * 1"
jobs:
Audit:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/setup-node@v4
with:
node-version: "20.17.0"
- uses: "actions/checkout@v4"
- run: "sudo apt-get update"
- run: "sudo apt-get install -y curl"
- run: "curl -LO https://downloads.snyk.io/cli/stable/snyk-linux"
- run: "sudo cp snyk-linux /bin/snyk"
- run: "sudo chmod a+x /bin/snyk"
- run: "npm install"
- run: "npm run audit"
env:
SNYK_TOKEN: "${{ secrets.SNYK_TOKEN }}"