Skip to content

Added scheduled cron in npm_audit.yml #3

Added scheduled cron in npm_audit.yml

Added scheduled cron in npm_audit.yml #3

Workflow file for this run

name: NPM audit scan
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
schedule:
- cron: '0 9 * * 1'
jobs:
Run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20.12.x
- name: Run audit
run: >-
npm audit --audit-level=moderate