Skip to content

Commit

Permalink
chore(ci): setup licence checker
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Jul 13, 2024
1 parent bab9b03 commit 3aeee82
Show file tree
Hide file tree
Showing 5 changed files with 1,434 additions and 16 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,22 @@ concurrency:
cancel-in-progress: true

jobs:
test:
license:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Volta
uses: volta-cli/[email protected]
- 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 Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ npm install --save-dev [email protected]
npm install --save-dev nw@sdk
```

> Optionally set `nwjs_build_type=sdk` in `.npmrc` or `NWJS_BUILD_TYPE=sdk` environment variable.
Or set `nwjs_build_type=sdk` in `.npmrc` or `NWJS_BUILD_TYPE=sdk` environment variable.

### Specify platform:

Expand Down
5 changes: 5 additions & 0 deletions js-green-licenses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"greenLicenses": [
"BlueOak"
]
}
Loading

0 comments on commit 3aeee82

Please sign in to comment.