Skip to content

Commit 2e43e15

Browse files
devversionAndrewKushnir
authored andcommitted
ci: "test_docs_examples_ivy" should attach ivy package output (angular#28984)
Currently the "test_docs_examples_ivy" job attaches the legacy package output, while we can also attach the Ivy NPM package output. We don't need Ngcc to downlevel the Angular packages in order to run the docs examples with Ivy. PR Close angular#28984
1 parent 5874247 commit 2e43e15

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,12 @@ jobs:
346346
- *init_environment
347347
# Install aio
348348
- run: yarn --cwd aio install --frozen-lockfile --non-interactive
349+
# Rename the Ivy packages dist folder to "dist/packages-dist" as the AIO
350+
# package installer picks up the locally built packages from that location.
351+
# *Note*: We could also adjust the packages installer, but given we won't have
352+
# two different folders of Angular distributions in the future, we should keep
353+
# the packages installer unchanged.
354+
- run: mv dist/packages-dist-ivy-aot dist/packages-dist
349355
# Run examples tests with ivy. The "CIRCLE_NODE_INDEX" will be set if "parallelism" is enabled.
350356
# Since the parallelism is set to "3", there will be three parallel CircleCI containers
351357
# with either "0", "1" or "2" as node index. This can be passed to the "--shard" argument.
@@ -596,7 +602,7 @@ workflows:
596602
- build-npm-packages
597603
- test_docs_examples_ivy:
598604
requires:
599-
- build-npm-packages
605+
- build-ivy-npm-packages
600606
- aio_preview:
601607
requires:
602608
- setup

0 commit comments

Comments
 (0)