Skip to content

Update node version in JHA (12 -> 18, 22) (#341) #30

Update node version in JHA (12 -> 18, 22) (#341)

Update node version in JHA (12 -> 18, 22) (#341) #30

name: npm audit workflow msp
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
defaults:
run:
working-directory: ./msp
jobs:
scan:
name: npm audit msp
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@main
with:
node-version: "12"
- name: install dependencies
run: npm ci
- uses: oke-py/npm-audit-action@v1.8.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
working_directory: ./msp
issue_labels: vulnerability
dedupe_issues: true
production_flag: true
name: run npm-audit-action