Merge pull request #575 from dcSpark/nico/fix_cron_copy #2287
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Audit Check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: "0 5 * * 0" # Weekly every Sunday 05:00 UTC | |
workflow_dispatch: | |
jobs: | |
node-npm: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node version | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
check-latest: false | |
cache: "npm" | |
cache-dependency-path: package-lock.json | |
- name: Audit | |
run: | | |
npm audit --omit=dev |