@@ -134,7 +134,7 @@ jobs:
134
134
# where the built packages are beside the point. In that case, you can change `BUILD_CACHE_KEY` (at the top of
135
135
# this file) to a constant and skip rebuilding all of the packages each time CI runs.
136
136
if : steps.cache_built_packages.outputs.cache-hit == ''
137
- run : ' yarn build:rollup'
137
+ run : ' yarn build:rollup && yarn build:types && yarn build:bundle '
138
138
outputs :
139
139
# this needs to be passed on, because the `needs` context only looks at direct ancestors (so steps which depend on
140
140
# `job_build` can't see `job_install_deps` and what it returned)
@@ -555,7 +555,7 @@ jobs:
555
555
uses : actions/cache@v2
556
556
with :
557
557
path : ${{ env.CACHED_BUILD_PATHS }}
558
- key : ${{ env.BUILD_CACHE_KEY }}
558
+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
559
559
- name : Run tests
560
560
env :
561
561
NODE_VERSION : ${{ matrix.node }}
@@ -592,7 +592,7 @@ jobs:
592
592
uses : actions/cache@v2
593
593
with :
594
594
path : ${{ env.CACHED_BUILD_PATHS }}
595
- key : ${{ env.BUILD_CACHE_KEY }}
595
+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
596
596
- name : Run tests
597
597
env :
598
598
NODE_VERSION : ${{ matrix.node }}
@@ -635,7 +635,7 @@ jobs:
635
635
uses : actions/cache@v2
636
636
with :
637
637
path : ${{ env.CACHED_BUILD_PATHS }}
638
- key : ${{ env.BUILD_CACHE_KEY }}
638
+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
639
639
- name : Run Ember tests
640
640
run : yarn test --scope=@sentry/ember
641
641
- name : Compute test coverage
@@ -678,7 +678,7 @@ jobs:
678
678
uses : actions/cache@v2
679
679
with :
680
680
path : ${{ env.CACHED_BUILD_PATHS }}
681
- key : ${{ env.BUILD_CACHE_KEY }}
681
+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
682
682
- name : Run Playwright tests
683
683
env :
684
684
PW_BUNDLE : ${{ matrix.bundle }}
@@ -716,7 +716,7 @@ jobs:
716
716
uses : actions/cache@v2
717
717
with :
718
718
path : ${{ env.CACHED_BUILD_PATHS }}
719
- key : ${{ env.BUILD_CACHE_KEY }}
719
+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
720
720
- name : Run integration tests
721
721
env :
722
722
KARMA_BROWSER : ${{ matrix.browser }}
@@ -749,7 +749,7 @@ jobs:
749
749
uses : actions/cache@v2
750
750
with :
751
751
path : ${{ env.CACHED_BUILD_PATHS }}
752
- key : ${{ env.BUILD_CACHE_KEY }}
752
+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
753
753
- name : Run browser build tests
754
754
run : |
755
755
cd packages/browser
@@ -786,7 +786,7 @@ jobs:
786
786
uses : actions/cache@v2
787
787
with :
788
788
path : ${{ env.CACHED_BUILD_PATHS }}
789
- key : ${{ env.BUILD_CACHE_KEY }}
789
+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
790
790
- name : Run integration tests
791
791
env :
792
792
NODE_VERSION : ${{ matrix.node }}
0 commit comments