@@ -736,12 +736,12 @@ describe("ci workflow guards", () => {
736736 expect ( saveStep . with . key ) . toBe ( "${{ steps.dist_build_cache.outputs.cache-primary-key }}" ) ;
737737 expect ( restoreStep . with . path ) . toContain ( "dist/" ) ;
738738 expect ( restoreStep . with . path ) . toContain ( "dist-runtime/" ) ;
739- expect ( restoreStep . with . path ) . toContain ( "packages/ai /dist/" ) ;
740- expect ( saveStep . with . path ) . toContain ( "packages/ai /dist/" ) ;
739+ expect ( restoreStep . with . path ) . toContain ( "packages/* /dist/" ) ;
740+ expect ( saveStep . with . path ) . toContain ( "packages/* /dist/" ) ;
741741 expect ( restoreStep . with . key ) . toContain ( "dist-build-v2-" ) ;
742742 expect (
743743 buildArtifactSteps . find ( ( step ) => step . name === "Pack built runtime artifacts" ) . run ,
744- ) . toContain ( "packages/ai /dist" ) ;
744+ ) . toContain ( "packages/* /dist" ) ;
745745 expect ( restoreStep . with . path ) . toContain ( "extensions/*/src/host/**/.bundle.hash" ) ;
746746 expect ( restoreStep . with . path ) . toContain ( "extensions/*/src/host/**/*.bundle.js" ) ;
747747 expect ( buildArtifactSteps . map ( ( step ) => step . name ) ) . not . toContain ( "Cache dist build" ) ;
@@ -756,10 +756,10 @@ describe("ci workflow guards", () => {
756756 const saveStep = steps . find ( ( step ) => step . name === "Save dist build cache" ) ;
757757
758758 expect ( resolveSeedsStep . run ) . toContain ( 'cache_prefix="${RUNNER_OS}-dist-build-v2-"' ) ;
759- expect ( restoreStep . with . path ) . toContain ( "packages/ai /dist/" ) ;
759+ expect ( restoreStep . with . path ) . toContain ( "packages/* /dist/" ) ;
760760 expect ( restoreStep . with . key ) . toContain ( "dist-build-v2-" ) ;
761761 expect ( verifyStep . run ) . toContain ( "test -f packages/ai/dist/internal/runtime.mjs" ) ;
762- expect ( saveStep . with . path ) . toContain ( "packages/ai /dist/" ) ;
762+ expect ( saveStep . with . path ) . toContain ( "packages/* /dist/" ) ;
763763 expect ( saveStep . with . key ) . toContain ( "dist-build-v2-" ) ;
764764 } ) ;
765765
0 commit comments