コンテンツにスキップ

License Check(signage-server)

What:Node 依存のライセンス検査を実行(npm run check:license
Whenpush / pull_request
Inputs/Outputs:入力なし / 出力なし(ログのみ)
Permissions:既定(contents: read
Concurrency:なし

定義(workflow)

  • ファイル.github/workflows/license-check.yaml
  • namelicense-check
  • jobsscanubuntu-latest

Steps

1) Checkoutactions/checkout@v4

2) Node セットアップactions/setup-node@v4node-version: 22

3) 依存導入npm ci

4) ライセンス検査npm run check:license

Note

  • 依存が大きい場合は setup-nodecache: npm を検討。