diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc41860..6bb2699 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,8 @@ jobs: run: npm ci - name: Lint run: npm run lint + - name: License check + run: npm run license-check - name: Build run: npm run build - name: Test diff --git a/package.json b/package.json index 21352c5..8f18287 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "lint": "ng lint", "postinstall": "patch-package --patch-dir node_modules/arlas-web-core/patches", "i18n:init": "ngx-translate-extract --input ./src --output ./src/assets/i18n/template.json --key-as-default-value --replace --format json", - "i18n:extract": "ngx-translate-extract --input ./src --output ./src/assets/i18n/{en,fr}.json --format json" + "i18n:extract": "ngx-translate-extract --input ./src --output ./src/assets/i18n/{en,fr}.json --format json", + "license-check": "license-check-and-add check -f license-check-and-add.json" }, "private": true, "peerDependencies": {