Skip to content

Commit

Permalink
Add licence check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed Hamou authored and Mohamed Hamou committed Sep 2, 2024
1 parent c8601b0 commit 212b623
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -62,6 +63,7 @@
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"license-check-and-add": "^4.0.5",
"puppeteer": "^1.13.0",
"typescript": "~4.6.0"
},
Expand Down

0 comments on commit 212b623

Please sign in to comment.