nodejs deps scan #644
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: nodejs deps scan | |
on: | |
schedule: | |
- cron: "0 3 * * *" # 毎日の正午に実行 ( 12+JST = 3+UTC ) | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: ./ui | |
jobs: | |
scan-deps: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18.x' | |
- name: Scan dependencies | |
run: | | |
npm install -g npm | |
npm install -g auditjs | |
npm ci | |
auditjs ossi |