Skip to content

Commit

Permalink
chore: add dependency license check (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
diogo-sousa-mattr authored Nov 14, 2022
1 parent 028b39f commit 98d193f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/any.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn license:check
- run: yarn build
- run: yarn test
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"pre-pr": "yarn format && yarn lint:fix && yarn build && yarn test",
"lint": "prettier --check \"**/*.ts\" \"**/*.md\" \"!**/lib/**\" && tslint --project ./tsconfig.json",
"lint:fix": "prettier --check \"**/*.ts\" \"**/*.md\" \"!**/lib/**\" && tslint --project ./tsconfig.json --fix",
"license:check": "npx [email protected] --excludePrivatePackages --excludeScopes '@mattrglobal' --excludePackages '[email protected]' --onlyAllow 'MIT;BSD;Apache-2.0;Apache 2.0;Apache License, Version 2.0;Apache*;Unlicense;ISC;Artistic-2.0;WTFPL;CC-BY-3.0;CC-BY-4.0;CC0-1.0;Python-2.0;MPL-2.0;' --summary",
"publish:unstable": "lerna publish --canary --dist-tag=unstable --preid=unstable --yes --exact",
"publish:release": "lerna publish from-git --yes",
"version:release": "lerna version minor --yes --exact --no-push",
Expand Down

0 comments on commit 98d193f

Please sign in to comment.