From 6afb30892949515b4a7eb1e29d1b31c895f25af2 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Mon, 30 Dec 2024 11:10:39 +0100 Subject: [PATCH] feat: improve npm license checker --- licenses/list-licenses | 2 +- licenses/write/action.yml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/licenses/list-licenses b/licenses/list-licenses index 2d8b90e..fc7faf4 100755 --- a/licenses/list-licenses +++ b/licenses/list-licenses @@ -3,7 +3,7 @@ set -e # list Node licenses if [ -f package.json ]; then - npm exec --yes license-checker -- --csv --production --excludePrivatePackages --customPath .bin/license-template-node.json + npm exec --yes license-checker -- --csv --excludePrivatePackages --customPath .bin/license-template-node.json { echo; } 2>/dev/null fi diff --git a/licenses/write/action.yml b/licenses/write/action.yml index d246eb5..f8bad0b 100644 --- a/licenses/write/action.yml +++ b/licenses/write/action.yml @@ -17,6 +17,3 @@ runs: message: 'autogen(docs): update milestone document' author_name: ory-bot author_email: '60093411+ory-bot@users.noreply.github.com' - - name: Check licenses - run: .bin/licenses - shell: bash