summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-22 22:51:46 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-11-23 11:28:47 +0900
commit5c4e521e295a7c089454b1d77f4570d46e1d32d3 (patch)
tree9ca484a78843371055da6809f3a769da46c00d7f /.github/workflows
parentb1139801f4257c55a09012cf7d42d36d3f87a053 (diff)
Automate generation of legal information for dependencies
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/broken-links.yml5
-rw-r--r--.github/workflows/ci.yml3
-rw-r--r--.github/workflows/create-prerelease-on-tag.yml3
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