@@ -256,6 +256,7 @@ describe("commands: config / init / quiz / doctor / reset / ship", () => {
256256 const yml = consumerWorkflowYaml ( "develop" ) ;
257257 assert . match ( yml , / b a s e - b r a n c h : d e v e l o p / ) ;
258258 assert . match ( yml , / c h t n n h \/ k n o w - c o d e \/ a c t i o n @ v 0 \. 3 \. 0 / ) ;
259+ assert . match ( yml , / a c t i o n s \/ c h e c k o u t @ v 5 / ) ;
259260 assert . match ( yml , / p u l l _ r e q u e s t : / ) ;
260261 assert . match ( yml , / p u s h : / ) ;
261262 assert . match ( yml , / b r a n c h e s : \n { 6 } - d e v e l o p / ) ;
@@ -274,6 +275,8 @@ describe("commands: config / init / quiz / doctor / reset / ship", () => {
274275 join ( repoRoot , ".github" , "workflows" , "know-code.yml" ) ,
275276 "utf8" ,
276277 ) ;
278+ assert . match ( workflow , / a c t i o n s \/ c h e c k o u t @ v 5 / ) ;
279+ assert . match ( workflow , / a c t i o n s \/ s e t u p - n o d e @ v 5 / ) ;
277280 assert . match ( workflow , / p u s h : / ) ;
278281 assert . match ( workflow , / b r a n c h e s : \[ m a i n \] / ) ;
279282 assert . match ( workflow , / v e r i f y - - f r o m / ) ;
@@ -283,6 +286,7 @@ describe("commands: config / init / quiz / doctor / reset / ship", () => {
283286 assert . match ( workflow , / e l s e \n k n o w - c o d e v e r i f y \n / ) ;
284287
285288 const action = readFileSync ( join ( repoRoot , "action" , "action.yml" ) , "utf8" ) ;
289+ assert . match ( action , / a c t i o n s \/ s e t u p - n o d e @ v 5 / ) ;
286290 assert . match ( action , / ^ { 2 } f r o m : / m) ;
287291 assert . match ( action , / z e r o b e f o r e S H A / ) ;
288292 assert . match ( action , / - - f r o m \$ F R O M / ) ;
0 commit comments