Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): check for valid licenses #1150

Merged
merged 37 commits into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d31e5e8
chore(deps): install js-green-licenses
ayushmanchhabra Jul 9, 2024
f5d57a8
chore(ci): check for valid licenses
ayushmanchhabra Jul 9, 2024
0e3ded3
chore: add js green licenses config file
ayushmanchhabra Jul 9, 2024
a86815e
chore: explicitly allowlist some packages
ayushmanchhabra Jul 9, 2024
0313d32
fixup! chore: explicitly allowlist some packages
ayushmanchhabra Jul 9, 2024
8d26ca4
chore: update allowlist
ayushmanchhabra Jul 10, 2024
f9deaec
chore: check licenses for devDeps
ayushmanchhabra Jul 10, 2024
5e2c93f
chore: no not check licenses for devDeps
ayushmanchhabra Jul 10, 2024
0310f01
chore: allowlist @isaacs/cliui
ayushmanchhabra Jul 10, 2024
363c993
chore: allowlist glob
ayushmanchhabra Jul 10, 2024
d946601
fixup! chore: allowlist glob
ayushmanchhabra Jul 10, 2024
c4d7f94
chore(deps): install js-green-licenses
ayushmanchhabra Jul 9, 2024
66cb04d
chore(ci): check for valid licenses
ayushmanchhabra Jul 9, 2024
061e725
chore: add js green licenses config file
ayushmanchhabra Jul 9, 2024
a842eab
chore: explicitly allowlist some packages
ayushmanchhabra Jul 9, 2024
bbf841e
fixup! chore: explicitly allowlist some packages
ayushmanchhabra Jul 9, 2024
8439859
chore: update allowlist
ayushmanchhabra Jul 10, 2024
8aa3c45
chore: check licenses for devDeps
ayushmanchhabra Jul 10, 2024
1673c73
chore: no not check licenses for devDeps
ayushmanchhabra Jul 10, 2024
aea204a
chore: allowlist @isaacs/cliui
ayushmanchhabra Jul 10, 2024
95f222c
chore: allowlist glob
ayushmanchhabra Jul 10, 2024
c60f4a5
fixup! chore: allowlist glob
ayushmanchhabra Jul 10, 2024
9b9fe86
chore: fix conflicts
ayushmanchhabra Jul 13, 2024
e1b0f57
chore: fix conflicts
ayushmanchhabra Jul 13, 2024
f479f8a
chore: remove glob from js-green-licenses allow list
ayushmanchhabra Jul 13, 2024
a57a336
chore: add lock file
ayushmanchhabra Jul 13, 2024
b628a00
chore: patch js-green-licenses package
ayushmanchhabra Jul 14, 2024
e1fd5cf
chore: bump npm
ayushmanchhabra Jul 14, 2024
8d3c3f1
chore: update lock file
ayushmanchhabra Jul 14, 2024
b3efd6a
chore(test): add mit to allowlist
ayushmanchhabra Jul 14, 2024
d8f21d4
chore: remove cfg file
ayushmanchhabra Jul 14, 2024
d60a049
chore: add BlueOak-1.0.0 as green license
ayushmanchhabra Jul 14, 2024
a042f3d
chore: check green licenses for dev deps
ayushmanchhabra Jul 14, 2024
c81e576
chore(ci): update license job name
ayushmanchhabra Jul 14, 2024
6dfdc3e
chore(ci): update cov name
ayushmanchhabra Jul 14, 2024
e907b39
fix: pkg author name
ayushmanchhabra Jul 14, 2024
54fc011
chore: do not check licenses for devDeps
ayushmanchhabra Jul 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,22 @@ concurrency:
cancel-in-progress: true

jobs:
e2e:
license-check:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.7
- name: Setup Volta
uses: volta-cli/action@v4.1.1
- name: Node.js version
run: node -v
- name: npm version
run: npm -v
- name: Install dependencies
run: npm ci
- name: License check
run: npm run license-check
tests:
strategy:
matrix:
os:
Expand All @@ -34,7 +49,7 @@ jobs:
run: npm run lint
- name: Run tests
run: npm run test
cov:
coverage:
runs-on: ubuntu-22.04
permissions:
contents: read
Expand Down
Loading