File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ typecheck:
153153 interruptible : true
154154 script :
155155 - yarn
156- - yarn build
157156 - yarn typecheck
158157 - scripts/cli typecheck test/apps/vanilla
159158 - scripts/cli typecheck test/e2e
@@ -165,7 +164,6 @@ build-and-lint:
165164 interruptible : true
166165 script :
167166 - yarn
168- - yarn build
169167 - yarn lint
170168 - node scripts/check-packages.ts
171169
@@ -613,7 +611,6 @@ check-expired-telemetry-scheduled:
613611 - $TARGET_TASK_NAME == "check-expired-telemetry"
614612 script :
615613 - yarn
616- - yarn build
617614 - MONITOR_UNTIL_COMMENT_EXPIRED_LEVEL=error yarn lint
618615
619616check-expired-telemetry-scheduled-failure :
Original file line number Diff line number Diff line change 1010 ],
1111 "type" : " module" ,
1212 "scripts" : {
13- "postinstall" : " scripts/cli init_submodule" ,
13+ "postinstall" : " scripts/cli init_submodule && scripts/cli ci_build_and_pack " ,
1414 "build" : " yarn workspaces foreach --all --parallel --topological run build" ,
1515 "build:bundle" : " yarn workspaces foreach --all --parallel run build:bundle" ,
1616 "build:apps" : " node scripts/build/build-test-apps.ts" ,
Original file line number Diff line number Diff line change @@ -91,6 +91,16 @@ cmd_check_server_side_rendering_compatibility () {
9191 yarn compat:ssr || fail ' server side rendering compatibility broken'
9292}
9393
94+ # in CI, build and pack after install to allow renovate to install test apps
95+ cmd_ci_build_and_pack () {
96+ if [[ -z " ${CI+x} " ]]; then
97+ exit 0
98+ else
99+ yarn build
100+ yarn run pack
101+ fi
102+ }
103+
94104fail () {
95105 echo
96106 echo " β ${1} "
You canβt perform that action at this time.
0 commit comments