Skip to content

Commit cb41e32

Browse files
committed
ci: add e18e dependency diff workflow
See https://github.com/e18e/action-dependency-diff
1 parent 526c5db commit cb41e32

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: dependency-diff
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- release
8+
paths:
9+
- package.json
10+
- pnpm-lock.yaml
11+
- pnpm-workspace.yaml
12+
- docs/package.json
13+
- cli/package.json
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
17+
cancel-in-progress: true
18+
19+
permissions:
20+
contents: read
21+
pull-requests: write
22+
23+
jobs:
24+
dependency-diff:
25+
name: 🔎 Dependency diff
26+
runs-on: ubuntu-slim
27+
28+
steps:
29+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
30+
with:
31+
fetch-depth: 0
32+
33+
- name: 🔎 Compare dependencies
34+
uses: e18e/action-dependency-diff@d995338f3b229fe7b2cd82048df5da930f70c7c3 # v1.4.4
35+
with:
36+
detect-replacements: 'true'
37+
duplicate-threshold: '4'
38+
dependency-threshold: '15'
39+
size-threshold: '200000'

0 commit comments

Comments
 (0)