Created
August 25, 2021 09:35
-
-
Save mmorel-35/2dfc59f78c52b713a08737030fd9ac94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Licensed cache | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- package-lock.json | |
workflow_dispatch: | |
jobs: | |
update_licenses_cache: | |
runs-on: ubuntu-latest | |
name: Update licenses cache | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- run: npm ci | |
- uses: jonabc/setup-licensed@v1 | |
with: | |
version: '3.x' | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: jonabc/licensed-ci@v1 | |
with: | |
user_name: ${{ github.actor }} | |
user_email: ${{ github.actor }}@users.noreply.github.com | |
github_token: ${{ secrets.GITHUB_TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment