File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,13 @@ var_5: &only_release_branches
3737 - main
3838 - /\d+\.\d+\.x/
3939
40- var_6 : &all_e2e_subsets ['npm', 'esbuild', 'yarn']
40+ var_6 : &only_pull_requests
41+ filters :
42+ branches :
43+ only :
44+ - /pull\/\d+/
45+
46+ var_7 : &all_e2e_subsets ['npm', 'esbuild', 'yarn']
4147
4248# Executor Definitions
4349# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-executors
@@ -323,6 +329,23 @@ jobs:
323329 yarn admin snapshots --verbose --githubTokenFile=${HOME}/github_token
324330 - fail_fast
325331
332+ publish_artifacts :
333+ executor : action-executor
334+ environment :
335+ steps :
336+ - custom_attach_workspace
337+ - run :
338+ name : Create artifacts for packages
339+ command : yarn ng-dev release build
340+ - run :
341+ name : Copy tarballs to folder
342+ command : |
343+ mkdir -p dist/artifacts/
344+ cp dist/*.tgz dist/artifacts/
345+ - store_artifacts :
346+ path : dist/artifacts/
347+ destination : angular
348+
326349 # Windows jobs
327350 e2e-cli-win :
328351 executor : windows-executor
@@ -450,3 +473,8 @@ workflows:
450473 requires :
451474 - setup
452475 - e2e-cli
476+
477+ - publish_artifacts :
478+ << : *only_pull_requests
479+ requires :
480+ - build
You can’t perform that action at this time.
0 commit comments