This repository was archived by the owner on Jun 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,31 @@ permissions:
1919 pull-requests : write # for PR comments
2020
2121jobs :
22+ check-affected :
23+ name : Check affected jobs (NX)
24+ runs-on : ubuntu-latest
25+ steps :
26+ - name : Checkout the repository
27+ uses : actions/checkout@v4
28+
29+ - uses : pnpm/action-setup@v4
30+ - name : Set up node & dependencies
31+ uses : actions/setup-node@v4
32+ with :
33+ node-version : 22
34+ cache : ' pnpm'
35+ - name : Install dependencies
36+ run : pnpm install --frozen-lockfile
37+
38+ - uses : nrwl/nx-set-shas@v4
39+ - name : Check affected
40+ run : pnpm nx affected -t rebuild-deps
41+
2242 report-electron-size :
2343 name : Report Electron size
2444 runs-on : ubuntu-latest
45+ needs :
46+ - check-affected
2547 steps :
2648 - name : Checkout the repository
2749 uses : actions/checkout@v4
5577 report-server-size :
5678 name : Report server size
5779 runs-on : ubuntu-latest
80+ needs :
81+ - check-affected
5882 steps :
5983 - name : Checkout the repository
6084 uses : actions/checkout@v4
87111 test_dev :
88112 name : Test development
89113 runs-on : ubuntu-latest
114+ needs :
115+ - check-affected
90116 steps :
91117 - name : Checkout the repository
92118 uses : actions/checkout@v4
@@ -107,6 +133,7 @@ jobs:
107133 runs-on : ubuntu-latest
108134 needs :
109135 - test_dev
136+ - check-affected
110137 steps :
111138 - uses : actions/checkout@v4
112139 - uses : pnpm/action-setup@v4
@@ -127,6 +154,7 @@ jobs:
127154 runs-on : ubuntu-latest
128155 needs :
129156 - build_docker
157+ - check-affected
130158 strategy :
131159 matrix :
132160 include :
You can’t perform that action at this time.
0 commit comments