Fix licensed check

This commit is contained in:
Jonathan Clem
2020-05-14 16:19:55 -04:00
parent db554038d4
commit bff9ed892e
2 changed files with 12 additions and 0 deletions

View File

@@ -11,6 +11,12 @@ jobs:
name: Check licenses
steps:
- uses: actions/checkout@v1.0.0
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
restore-keys: ${{runner.os}}-npm-
- run: npm ci
- run: |-
cd /tmp
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.3.2/licensed-2.3.2-linux-x64.tar.gz

View File

@@ -11,6 +11,12 @@ jobs:
name: Check licenses
steps:
- uses: actions/checkout@v1.0.0
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
restore-keys: ${{runner.os}}-npm-
- run: npm ci
- run: |-
cd /tmp
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.3.2/licensed-2.3.2-linux-x64.tar.gz