diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-11-23 08:59:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 08:59:03 +0000 |
commit | 97e93f5f089d3ebd5c603b564aebd77e74bfcd4c (patch) | |
tree | 9ca484a78843371055da6809f3a769da46c00d7f /.github/workflows | |
parent | b1139801f4257c55a09012cf7d42d36d3f87a053 (diff) | |
parent | 5c4e521e295a7c089454b1d77f4570d46e1d32d3 (diff) |
Merge pull request #327 from themoeway/automate-legal
Automate generation of legal information for dependencies
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/broken-links.yml | 5 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 3 | ||||
-rw-r--r-- | .github/workflows/create-prerelease-on-tag.yml | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/broken-links.yml b/.github/workflows/broken-links.yml index 45043e79..1234c9d3 100644 --- a/.github/workflows/broken-links.yml +++ b/.github/workflows/broken-links.yml @@ -17,7 +17,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Install dependencies + run: npm ci + - name: Build Legal + run: npm run license-report - uses: lycheeverse/lychee-action@ec3ed119d4f44ad2673a7232460dc7dff59d2421 with: fail: true jobSummary: false + args: --exclude-path 'node_modules' --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9106556e..65d5efb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,9 @@ jobs: env: CI: true + - name: Build Legal + run: npm run license-report + - name: Build run: npm run build diff --git a/.github/workflows/create-prerelease-on-tag.yml b/.github/workflows/create-prerelease-on-tag.yml index 4e73baaf..e2758a19 100644 --- a/.github/workflows/create-prerelease-on-tag.yml +++ b/.github/workflows/create-prerelease-on-tag.yml @@ -25,6 +25,9 @@ jobs: - name: Install dependencies run: npm ci + - name: Build Legal + run: npm run license-report + - name: Build run: npm run-script build -- --all --yomitan-version ${{ github.ref_name }} shell: bash |