Skip to content

Commit 769042b

Browse files
committed
ci: license checker
1 parent c35f414 commit 769042b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,6 @@ jobs:
6868
- name: Check dependencies
6969
run: npm run checkDependencies
7070
continue-on-error: true
71+
72+
- name: Check licenses
73+
run: npm run check-licenses

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,6 +2055,7 @@
20552055
"build:prerelease": "cross-env IS_PRE_RELEASE_VERSION_OF_JUPYTER_EXTENSION=true npm run build",
20562056
"build:stable": "cross-env IS_PRE_RELEASE_VERSION_OF_JUPYTER_EXTENSION=false npm run build",
20572057
"build": "concurrently npm:compile-release npm:updatePackageJsonForBundle",
2058+
"check-licenses": "npx license-checker-rseidelsohn --onlyAllow 'MIT;Apache-2.0;ISC;BSD-2-Clause;BSD-3-Clause;0BSD;Python-2.0;CC0-1.0;CC-BY-3.0;CC-BY-4.0;Unlicense;BlueOak-1.0.0' --excludePrivatePackages",
20582059
"checkDependencies": "gulp checkDependencies",
20592060
"clean": "gulp clean",
20602061
"compile-esbuild-watch": "npx tsx build/esbuild/build.ts --watch",

0 commit comments

Comments
 (0)