6767 run : yarn test:integration
6868 env :
6969 FORCE_COLOR : true
70-
70+ - name : Upload vitest config files
71+ uses : actions/upload-artifact@v4
72+ with :
73+ name : vitest-config-integration-${{ matrix.os }}-${{ matrix.version }}
74+ overwrite : true
75+ path : |
76+ packages/platform/platform-express/vitest.config.mts
77+ packages/platform/platform-koa/vitest.config.mts
78+ continue-on-error : true
7179 test-core :
7280 runs-on : ubuntu-latest
7381
8997 run : yarn tsc --build
9098 - name : Run test
9199 run : yarn test:core --since origin/production
100+ - name : Upload vitest config files
101+ uses : actions/upload-artifact@v4
102+ with :
103+ name : vitest-config-core
104+ path : |
105+ packages/{core,di,engines}/vitest.config.mts
106+ packages/platform/common/vitest.config.mts
107+ packages/utils/normalize-path/vitest.config.mts
108+ continue-on-error : true
92109
93110 test-specs :
94111 runs-on : ubuntu-latest
@@ -111,7 +128,13 @@ jobs:
111128 run : yarn tsc --build
112129 - name : Run test
113130 run : yarn test:specs --since origin/production
114-
131+ - name : Upload vitest config files
132+ uses : actions/upload-artifact@v4
133+ with :
134+ name : vitest-config-specs
135+ path : |
136+ packages/specs/*/vitest.config.mts
137+ continue-on-error : true
115138 test-platform :
116139 runs-on : ubuntu-latest
117140
@@ -133,7 +156,14 @@ jobs:
133156 run : yarn tsc --build
134157 - name : Run test
135158 run : yarn test:platform --since origin/production
136-
159+ - name : Upload vitest config files
160+ uses : actions/upload-artifact@v4
161+ with :
162+ name : vitest-config-platform
163+ path : |
164+ packages/platform/platform-*/vitest.config.mts
165+ !packages/platform/platform-express/vitest.config.mts
166+ !packages/platform/platform-koa/vitest.config.mts
137167 test-orm :
138168 runs-on : ubuntu-latest
139169
@@ -155,7 +185,12 @@ jobs:
155185 run : yarn tsc --build
156186 - name : Run test
157187 run : yarn test:orm --since origin/production
158-
188+ - name : Upload vitest config files
189+ uses : actions/upload-artifact@v4
190+ with :
191+ name : vitest-config
192+ path : |
193+ packages/orm/*/vitest.config.mts
159194 test-graphql :
160195 runs-on : ubuntu-latest
161196
@@ -177,7 +212,12 @@ jobs:
177212 run : yarn tsc --build
178213 - name : Run test
179214 run : yarn test:graphql --since origin/production
180-
215+ - name : Upload vitest config files
216+ uses : actions/upload-artifact@v4
217+ with :
218+ name : vitest-config-graphql
219+ path : |
220+ packages/graphql/*/vitest.config.mts
181221 test-security :
182222 runs-on : ubuntu-latest
183223
@@ -199,7 +239,12 @@ jobs:
199239 run : yarn tsc --build
200240 - name : Run test
201241 run : yarn test:security --since origin/production
202-
242+ - name : Upload vitest config files
243+ uses : actions/upload-artifact@v4
244+ with :
245+ name : vitest-config-security
246+ path : |
247+ packages/security/*/vitest.config.mts
203248 test-third-parties :
204249 runs-on : ubuntu-latest
205250
@@ -221,33 +266,16 @@ jobs:
221266 run : yarn tsc --build
222267 - name : Run test
223268 run : yarn test:third-parties --since origin/production
224-
225- test-formio :
226- runs-on : ubuntu-latest
227-
228- strategy :
229- matrix :
230- node-version : [20.12.2]
231-
232- steps :
233- - uses : actions/checkout@v3
269+ - name : Upload vitest config files
270+ uses : actions/upload-artifact@v4
234271 with :
235- fetch-depth : 0
236- - name : Use Node.js ${{ matrix.node-version }}
237- uses : actions/setup-node@v3
238- with :
239- node-version : ${{ matrix.node-version }}
240- - name : Install dependencies
241- run : yarn install --immutable --network-timeout 500000
242- - name : Run build
243- run : yarn tsc --build
244- - name : Run test
245- run : yarn test:formio --since origin/production
272+ name : vitest-config-third-parties
273+ path : |
274+ packages/third-parties/*/vitest.config.mts
246275
247276 deploy-packages :
248277 runs-on : ubuntu-latest
249- needs :
250- [lint, test-core, test-specs, test-platform, test-integration, test-orm, test-security, test-graphql, test-third-parties, test-formio]
278+ needs : [lint, test-core, test-specs, test-platform, test-integration, test-orm, test-security, test-graphql, test-third-parties]
251279 if : github.event_name != 'pull_request' && contains('
252280 refs/heads/production
253281 refs/heads/alpha
@@ -267,6 +295,12 @@ jobs:
267295 node-version: ${{ matrix.node-version }}
268296 - name: Install dependencies
269297 run: yarn install --network-timeout 500000
298+
299+ - name: Download Core vitest config files
300+ uses: actions/download-artifact@v3
301+ with:
302+ path: .
303+
270304 - name: Release packages
271305 env:
272306 CI: true
0 commit comments