@@ -134,7 +134,7 @@ jobs:
134134 # where the built packages are beside the point. In that case, you can change `BUILD_CACHE_KEY` (at the top of
135135 # this file) to a constant and skip rebuilding all of the packages each time CI runs.
136136 if : steps.cache_built_packages.outputs.cache-hit == ''
137- run : ' yarn build:rollup'
137+ run : ' yarn build:rollup && yarn build:types && yarn build:bundle '
138138 outputs :
139139 # this needs to be passed on, because the `needs` context only looks at direct ancestors (so steps which depend on
140140 # `job_build` can't see `job_install_deps` and what it returned)
@@ -555,7 +555,7 @@ jobs:
555555 uses : actions/cache@v2
556556 with :
557557 path : ${{ env.CACHED_BUILD_PATHS }}
558- key : ${{ env.BUILD_CACHE_KEY }}
558+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
559559 - name : Run tests
560560 env :
561561 NODE_VERSION : ${{ matrix.node }}
@@ -592,7 +592,7 @@ jobs:
592592 uses : actions/cache@v2
593593 with :
594594 path : ${{ env.CACHED_BUILD_PATHS }}
595- key : ${{ env.BUILD_CACHE_KEY }}
595+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
596596 - name : Run tests
597597 env :
598598 NODE_VERSION : ${{ matrix.node }}
@@ -635,7 +635,7 @@ jobs:
635635 uses : actions/cache@v2
636636 with :
637637 path : ${{ env.CACHED_BUILD_PATHS }}
638- key : ${{ env.BUILD_CACHE_KEY }}
638+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
639639 - name : Run Ember tests
640640 run : yarn test --scope=@sentry/ember
641641 - name : Compute test coverage
@@ -678,7 +678,7 @@ jobs:
678678 uses : actions/cache@v2
679679 with :
680680 path : ${{ env.CACHED_BUILD_PATHS }}
681- key : ${{ env.BUILD_CACHE_KEY }}
681+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
682682 - name : Run Playwright tests
683683 env :
684684 PW_BUNDLE : ${{ matrix.bundle }}
@@ -716,7 +716,7 @@ jobs:
716716 uses : actions/cache@v2
717717 with :
718718 path : ${{ env.CACHED_BUILD_PATHS }}
719- key : ${{ env.BUILD_CACHE_KEY }}
719+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
720720 - name : Run integration tests
721721 env :
722722 KARMA_BROWSER : ${{ matrix.browser }}
@@ -749,7 +749,7 @@ jobs:
749749 uses : actions/cache@v2
750750 with :
751751 path : ${{ env.CACHED_BUILD_PATHS }}
752- key : ${{ env.BUILD_CACHE_KEY }}
752+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
753753 - name : Run browser build tests
754754 run : |
755755 cd packages/browser
@@ -786,7 +786,7 @@ jobs:
786786 uses : actions/cache@v2
787787 with :
788788 path : ${{ env.CACHED_BUILD_PATHS }}
789- key : ${{ env.BUILD_CACHE_KEY }}
789+ key : ${{ env.BUILD_CACHE_KEY }}-sucrase
790790 - name : Run integration tests
791791 env :
792792 NODE_VERSION : ${{ matrix.node }}
0 commit comments