File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ jobs:
134134
135135 static-code-analysis :
136136 name : Static code analysis
137+ needs :
138+ - build # Needed for resolving dependencies across packages
137139 runs-on : ubuntu-latest
138140
139141 steps :
@@ -147,12 +149,22 @@ jobs:
147149
148150 - run : npm clean-install --strict-peer-deps
149151
152+ - name : Download tarballs
153+ uses : actions/download-artifact@v8
154+ with :
155+ name : tarballs
156+
157+ - name : Extract tarballs
158+ run : npm exec --workspaces -- tar --skip-old-files --strip-components=1 -xf *.tgz
159+
150160 # - run: npm run build --if-present
151161
152162 - run : npm run precommit --if-present
153163
154164 unit-test :
155165 name : Unit test
166+ needs :
167+ - build
156168 runs-on : ubuntu-latest
157169
158170 steps :
@@ -208,6 +220,8 @@ jobs:
208220
209221 type-definitions-test :
210222 name : Type definitions test
223+ needs :
224+ - build
211225 runs-on : ubuntu-latest
212226
213227 steps :
You can’t perform that action at this time.
0 commit comments