Skip to content

Commit

Permalink
Generate licenses of all dependencies
Browse files Browse the repository at this point in the history
Fixes #324.

I also updated the package set for a couple dependencies that did not
have license files in the versions in the older package set.
  • Loading branch information
triallax committed Feb 26, 2023
1 parent 68c0fb9 commit 9b20ff2
Show file tree
Hide file tree
Showing 6 changed files with 4,359 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ jobs:
git diff README.md
exit 1
fi
- name: Generate third-party licenses
run: ./generate-third-party-licenses.cjs

- name: Check generated third-party licenses list is up to date
run: |
if [ -n "$(git status --porcelain LICENSE_THIRDPARTY web/third-party-licenses.txt)" ]; then
echo 'There is a mismatch between the autogenerated third-party license list and what running `generate-third-party-licenses.cjs` generates. If you have edited LICENSE_THIRDPARTY or web/third-party-licenses.txt directly, please revert those changes. Otherwise, please run `node generate-third-party-licenses.cjs` locally and commit the changes to the license list to Git.'
exit 1
fi
Loading

0 comments on commit 9b20ff2

Please sign in to comment.