Skip to content

♻️ remove unused dependencies #631

♻️ remove unused dependencies

♻️ remove unused dependencies #631

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@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
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