Check if all production dependencies of the project complies with the allowed licenses.
# .github/workflows/license-check.yml
on:
push:
paths:
- "**/package.json"
- "yarn.lock"
- "package-lock.json"
jobs:
license-check:
uses: lightbasenl/platforms/.github/workflows/lib-license-checker.yml@main
with:
# Inputs| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|---|---|---|---|---|
| exclude-packages | string | false | Semicolon separated list of dependencies to skip. |
|
| node-version | string | false | "24" |
Node.js version to use |
No outputs.
No secrets.