This repository has been archived by the owner on Jan 14, 2025. It is now read-only.
Bump braces from 3.0.2 to 3.0.3 #116
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
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 |