8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4a34d1 commit 4db7989Copy full SHA for 4db7989
.github/workflows/licensed.yml
@@ -0,0 +1,27 @@
1
+name: Licensed
2
+
3
+on:
4
+ push: {branches: main}
5
+ pull_request: {branches: main}
6
+ repository_dispatch:
7
+ workflow_dispatch:
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ name: Check licenses
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - uses: actions/cache@v1
16
+ with:
17
+ path: ~/.npm
18
+ key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
19
+ restore-keys: ${{runner.os}}-npm-
20
+ - run: npm ci
21
+ - name: Install licensed
22
+ run: |-
23
+ cd $RUNNER_TEMP
24
+ curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
25
+ sudo tar -xzf licensed.tar.gz
26
+ sudo mv licensed /usr/local/bin/licensed
27
+ - run: licensed status
0 commit comments