From 7063b535c7d4456d35ca8bcbf740dc14bb83f495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 30 Jul 2023 22:14:14 +0200 Subject: [PATCH] Add a license-checker workflow --- .github/workflows/licenses.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/licenses.yml diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.yml new file mode 100644 index 0000000..9255549 --- /dev/null +++ b/.github/workflows/licenses.yml @@ -0,0 +1,17 @@ +name: ci +on: [push, pull_request] + +jobs: + integration-test: + name: Integration test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Apt update + run: sudo apt update + - name: Install npm + run: sudo apt install -y npm + - name: Install license-checker + run: npm install --global license-checker + - name: Run the license-checker + run: npx license-checker --summary --excludePrivatePackages --unknown --onlyAllow 'Apache-2.0;BSD-2-Clause;BSD-3-Clause;CC0-1.0;ISC;MIT'