|
33 | 33 | run: yarn --frozen-lockfile --ignore-engines |
34 | 34 | if: steps.dependency-cache.outputs.cache-hit != 'true' |
35 | 35 | - run: yarn build |
| 36 | + - name: Upload build artifacts |
| 37 | + uses: actions/upload-artifact@v4 |
| 38 | + with: |
| 39 | + name: dist-artifacts-${{ github.run_id }} |
| 40 | + path: packages/*/dist |
| 41 | + retention-days: 1 |
36 | 42 |
|
37 | 43 | type-check: |
38 | 44 | needs: build |
@@ -112,6 +118,11 @@ jobs: |
112 | 118 | - name: Install dependencies |
113 | 119 | run: yarn --frozen-lockfile --ignore-engines |
114 | 120 | if: steps.dependency-cache.outputs.cache-hit != 'true' |
| 121 | + - name: Download build artifacts |
| 122 | + uses: actions/download-artifact@v4 |
| 123 | + with: |
| 124 | + name: dist-artifacts-${{ github.run_id }} |
| 125 | + path: packages |
115 | 126 | - run: yarn test:unit |
116 | 127 |
|
117 | 128 | test-integration: |
@@ -154,6 +165,11 @@ jobs: |
154 | 165 | - name: Install dependencies |
155 | 166 | run: yarn --frozen-lockfile --ignore-engines |
156 | 167 | if: steps.dependency-cache.outputs.cache-hit != 'true' |
| 168 | + - name: Download build artifacts |
| 169 | + uses: actions/download-artifact@v4 |
| 170 | + with: |
| 171 | + name: dist-artifacts-${{ github.run_id }} |
| 172 | + path: packages |
157 | 173 | - run: yarn test:integration |
158 | 174 |
|
159 | 175 | test-e2e: |
@@ -187,6 +203,11 @@ jobs: |
187 | 203 | - name: Install dependencies |
188 | 204 | run: yarn --frozen-lockfile --ignore-engines |
189 | 205 | if: steps.dependency-cache.outputs.cache-hit != 'true' |
| 206 | + - name: Download build artifacts |
| 207 | + uses: actions/download-artifact@v4 |
| 208 | + with: |
| 209 | + name: dist-artifacts-${{ github.run_id }} |
| 210 | + path: packages |
190 | 211 | - run: yarn test:e2e |
191 | 212 |
|
192 | 213 | lint: |
|
0 commit comments