licensed.yml 533 B

1234567891011121314151617181920
  1. name: Licensed
  2. on:
  3. push: {branches: main}
  4. pull_request: {branches: main}
  5. jobs:
  6. test:
  7. runs-on: ubuntu-latest
  8. name: Check licenses
  9. steps:
  10. - uses: actions/checkout@v2
  11. - run: npm ci
  12. - name: Install licensed
  13. run: |
  14. cd $RUNNER_TEMP
  15. curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
  16. sudo tar -xzf licensed.tar.gz
  17. sudo mv licensed /usr/local/bin/licensed
  18. - run: licensed status