Skip to content

Commit 568b1a8

Browse files
committed
Fix dependencies
1 parent ed24e25 commit 568b1a8

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/pull-request-validation.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)