Skip to content

Commit

Permalink
ci 1
Browse files Browse the repository at this point in the history
  • Loading branch information
splix committed Feb 11, 2024
1 parent c5f7f91 commit f780b50
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,32 @@ jobs:
with:
node-version: '18.x'

- name: Install license checker
run: npm install -g js-green-licenses
# 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
# ------------------------------
- uses: actions/checkout@master
name: Install license checker
with:
name: emeraldpay/js-green-licenses
ref: dev
path: jsgl

- uses: Prepare jsgl
run: |
cd jsgl
npm install
npm run build
cd ..
- name: Check licenses
run: jsgl --local .
run: node jsgl/build/src/cli.js --local .
# ------------------------------

0 comments on commit f780b50

Please sign in to comment.