@@ -334,3 +334,19 @@ test("tag release 工作流校验版本并发布 VSIX", () => {
334334 assert . match ( workflow , / g h r e l e a s e c r e a t e / ) ;
335335 assert . match ( workflow , / g h r e l e a s e u p l o a d .* - - c l o b b e r / s) ;
336336} ) ;
337+
338+ test ( "PR CI 分离单元打包和 Extension Host E2E" , ( ) => {
339+ const workflow = readFileSync ( path . join ( root , ".github/workflows/ci.yml" ) , "utf8" ) ;
340+ assert . match ( workflow , / p u l l _ r e q u e s t : / ) ;
341+ assert . match ( workflow , / p u s h : \s * \n \s + b r a n c h e s : \s * \n \s + - m a i n / ) ;
342+ assert . match ( workflow , / p e r m i s s i o n s : \s * \n \s + c o n t e n t s : r e a d / ) ;
343+ assert . match ( workflow , / c o n c u r r e n c y : [ \s \S ] * c a n c e l - i n - p r o g r e s s : t r u e / ) ;
344+ assert . match ( workflow , / n o d e - v e r s i o n : 2 2 / ) ;
345+ assert . match ( workflow , / u n i t - a n d - p a c k a g e : / ) ;
346+ assert . match ( workflow , / e x t e n s i o n - h o s t - e 2 e : / ) ;
347+ assert . match ( workflow , / n p m c i / ) ;
348+ assert . match ( workflow , / n p m t e s t / ) ;
349+ assert . match ( workflow , / n p m r u n p a c k a g e / ) ;
350+ assert . match ( workflow , / u n z i p - t / ) ;
351+ assert . match ( workflow , / x v f b - r u n - a n p m r u n t e s t : e 2 e / ) ;
352+ } ) ;
0 commit comments