Skip to content

Run npm:audit in CI workflow #1

Run npm:audit in CI workflow

Run npm:audit in CI workflow #1

Workflow file for this run

name: npm audit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches: ['main']
schedule:
- cron: '0 10 * * *'
jobs:
scan:
name: npm audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: npm ci
- uses: oke-py/npm-audit-action@v2
with:
audit_level: moderate
github_token: ${{ secrets.GITHUB_TOKEN }}
create_issues: false
create_pr_comments: false
production_flag: true