Skip to content

🔊 better logging of JSON errors #370

🔊 better logging of JSON errors

🔊 better logging of JSON errors #370

Workflow file for this run

#
# Make sure dependencies use compatible licenses.
#
name: License Check
on:
- pull_request
jobs:
license-check:
name: Check licenses
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
- name: Install Node.js dependencies
run: npm ci
- name: Install NPM License Checker
run: npm install -g license-checker
- name: Check licences, no GPL or APGL allowed
run: license-checker | grep -P -B1 '(?<=[A\W])GPL' && exit 1 || exit 0