.github/workflows/schedule-npm-audit.yml #98
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
on: | |
schedule: | |
- cron: "0 0 * * *" # 毎日日本時間9時実行 | |
pull_request: | |
paths: | |
- "Hosting/**" | |
jobs: | |
npm-audit: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: Hosting | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Run npm audit | |
run: npm audit --audit-level=high --omit=dev |