File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Dependency Diff
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+
7+ jobs :
8+ build-base :
9+ name : Pack base branch
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ steps :
14+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
15+ with :
16+ ref : main
17+ - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
18+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
19+ with :
20+ node-version : 22
21+ cache : pnpm
22+ - run : pnpm install --frozen-lockfile --ignore-scripts
23+ - run : pnpm run build
24+ - run : pnpm pack --pack-destination ./base-packs
25+ - uses : actions/upload-artifact@v7
26+ with :
27+ name : base-packages
28+ path : ./base-packs/*.tgz
29+
30+ build-pr :
31+ name : Pack PR branch
32+ runs-on : ubuntu-latest
33+ permissions :
34+ contents : read
35+ steps :
36+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
37+ - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
38+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
39+ with :
40+ node-version : 22
41+ cache : pnpm
42+ - run : pnpm install --frozen-lockfile --ignore-scripts
43+ - run : pnpm run build
44+ - run : pnpm pack --pack-destination ./source-packs
45+ - uses : actions/upload-artifact@v7
46+ with :
47+ name : source-packages
48+ path : ./source-packs/*.tgz
49+
50+ diff-dependencies :
51+ name : Diff dependencies
52+ runs-on : ubuntu-latest
53+ needs : [build-base, build-pr]
54+ permissions :
55+ contents : read
56+ pull-requests : write
57+ steps :
58+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
59+ with :
60+ fetch-depth : 0
61+ - uses : actions/download-artifact@v8
62+ with :
63+ name : base-packages
64+ path : ./base-packs
65+ - uses : actions/download-artifact@v8
66+ with :
67+ name : source-packages
68+ path : ./source-packs
69+ - uses : e18e/action-dependency-diff@8e9b8c1957ab066d36235a43f4c1ff1522e1bdbc # v1.6.1
70+ with :
71+ base-packages : ' ./base-packs/*.tgz'
72+ source-packages : ' ./source-packs/*.tgz'
73+ pack-size-threshold : -1
74+ size-threshold : -1
75+ duplicate-threshold : 3
Original file line number Diff line number Diff line change 2727 - name : Install Playwright Browsers
2828 run : pnpm exec playwright install chromium --only-shell
2929 - run : pnpm test --forbid-only
30- - name : Upload coverage reports to Codecov
31- uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
32- with :
33- token : ${{ secrets.CODECOV_TOKEN }}
3430
3531 check-ts :
3632 name : Check types
8076 - run : pnpm install --frozen-lockfile
8177 - run : pnpm run knip
8278
83- bundle-analysis :
84- name : Report bundle analysis (codecov)
85- runs-on : ubuntu-latest
86- steps :
87- - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
88- with :
89- persist-credentials : false
90- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6
91- - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
92- with :
93- node-version : 24
94- cache : pnpm
95- - run : pnpm install --frozen-lockfile
96- - run : pnpm run build
97- env :
98- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
99-
10079 audit :
10180 name : Audit packages
10281 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11{
22 "$schema" : " ./node_modules/oxlint/configuration_schema.json" ,
3- "extends" : [" @projectwallace/preset-oxlint" ],
3+ "extends" : [" ./node_modules/ @projectwallace/preset-oxlint/index.json " ],
44 "env" : {
55 "node" : true ,
66 "browser" : true
77 },
8- "rules" : {}
8+ "rules" : {
9+ "no-console" : " off"
10+ }
911}
Original file line number Diff line number Diff line change 4545 "knip" : " knip"
4646 },
4747 "dependencies" : {
48- "@projectwallace/css-parser" : " ~0.16 .0" ,
49- "@projectwallace/format-css" : " ^3.1.2 "
48+ "@projectwallace/css-parser" : " ~0.17 .0" ,
49+ "@projectwallace/format-css" : " ^3.1.5 "
5050 },
5151 "devDependencies" : {
52- "@codecov/vite-plugin" : " ^2.0.1" ,
53- "@playwright/test" : " ^1.59.1" ,
52+ "@playwright/test" : " ^1.61.1" ,
5453 "@projectwallace/preset-oxlint" : " ^0.0.11" ,
55- "@types/node" : " ^26.1.0 " ,
56- "c8" : " ^11 .0.0" ,
57- "knip" : " ^6.3 .0" ,
58- "oxfmt" : " ^0.57 .0" ,
59- "oxlint" : " ^1.58 .0" ,
60- "publint" : " ^0.3.20 " ,
61- "tsdown" : " ^0.22.0 " ,
62- "typescript" : " ^6 .0.2"
54+ "@types/node" : " ^26.1.1 " ,
55+ "c8" : " ^12 .0.0" ,
56+ "knip" : " ^6.27 .0" ,
57+ "oxfmt" : " ^0.59 .0" ,
58+ "oxlint" : " ^1.74 .0" ,
59+ "publint" : " ^0.3.21 " ,
60+ "tsdown" : " ^0.22.11 " ,
61+ "typescript" : " ^7 .0.2"
6362 },
6463 "overrides" : {
6564 "@projectwallace/css-parser" : " $@projectwallace/css-parser"
6665 },
6766 "engines" : {
6867 "node" : " >=20" ,
69- "pnpm" : " >=10 .0.0"
68+ "pnpm" : " >=11 .0.0"
7069 },
71- "packageManager" : " pnpm@11.1.1" ,
72- "pnpm" : {
73- "onlyBuiltDependencies" : [
74- " esbuild"
75- ]
76- }
70+ "packageManager" : " pnpm@11.1.1"
7771}
You can’t perform that action at this time.
0 commit comments