-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from kintone-labs/v0.4.2
v0.4.2
- Loading branch information
Showing
19 changed files
with
781 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Check license | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
license_finder: | ||
name: Check License On Dependency | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up License Finder | ||
run: sudo gem install license_finder | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Cache Dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.npm | ||
key: npm-${{ hashFiles('package-lock.json') }} | ||
restore-keys: npm- | ||
|
||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Check licenses | ||
run: license_finder --decisions-file=licensefinder/doc/check-dependency-license.yml | ||
|
||
license_finder-dev: | ||
name: Check License On Devdependency | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up License Finder | ||
run: sudo gem install license_finder | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Cache Devdependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.npm | ||
key: npm-${{ hashFiles('package-lock.json') }} | ||
restore-keys: npm- | ||
|
||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Check dev-licenses | ||
run: license_finder --decisions-file=licensefinder/doc/check-devdependency-license.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.