From 48daa00c12595311cca0a64f1dbc8c9afc524d61 Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Sun, 11 Feb 2024 23:36:29 +0000 Subject: [PATCH] problem: official JSGL tries a wrong version check for local packages --- .github/workflows/verify.yaml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index d9b89fd68..6ded9ffdc 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -40,8 +40,32 @@ jobs: with: node-version: '18.x' +# This is for the official version +# ------------------------------ +# - name: Install license checker +# run: npm install -g js-green-licenses +# +# - name: Check licenses +# run: jsgl --local . +# ------------------------------ + +# This is for the patched version +# ------------------------------ - name: Install license checker - run: npm install -g js-green-licenses + uses: actions/checkout@master + with: + repository: emeraldpay/js-green-licenses + ref: dev + path: jsgl + + - name: Prepare jsgl + run: | + cd jsgl + npm install + npm run compile + cd .. - name: Check licenses - run: jsgl --local . + run: node jsgl/build/src/cli.js --local . +# ------------------------------ +