From 5c4e521e295a7c089454b1d77f4570d46e1d32d3 Mon Sep 17 00:00:00 2001 From: Darius Jahandarie Date: Wed, 22 Nov 2023 22:51:46 +0900 Subject: Automate generation of legal information for dependencies --- .github/workflows/broken-links.yml | 5 +++++ .github/workflows/ci.yml | 3 +++ .github/workflows/create-prerelease-on-tag.yml | 3 +++ 3 files changed, 11 insertions(+) (limited to '.github/workflows') 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 -- cgit v1.2.3