@@ -33,36 +33,34 @@ jobs:
3333 test :
3434 timeout-minutes : 15
3535 runs-on : ubuntu-latest
36- steps :
37- # Because the checkout and setup node action is contained in the dev-infra repo, we must
38- # checkout the repo to be able to run the action we have created. Other repos will skip
39- # this step.
40- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
41- - uses : ./github-actions/npm/checkout-and-setup-node
42- - uses : ./github-actions/bazel/setup
43- - uses : ./github-actions/bazel/configure-remote
44- with :
45- google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
46- - run : pnpm install --frozen-lockfile
47- - run : pnpm bazel test -- //...
48-
49- rules_angular :
50- timeout-minutes : 15
51- runs-on : ubuntu-latest
36+ strategy :
37+ fail-fast : false
38+ matrix :
39+ folder :
40+ [
41+ ' .' ,
42+ ' bazel/rules/rules_angular' ,
43+ ' bazel/rules/rules_browsers' ,
44+ ' bazel/rules/rules_browsers/test' ,
45+ ]
5246 defaults :
5347 run :
54- working-directory : bazel/rules/rules_angular
48+ working-directory : ${{ matrix.folder }}
5549 steps :
5650 # Because the checkout and setup node action is contained in the dev-infra repo, we must
5751 # checkout the repo to be able to run the action we have created. Other repos will skip
5852 # this step.
5953 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6054 - uses : ./github-actions/npm/checkout-and-setup-node
55+ with :
56+ disable-package-manager-cache : ${{ matrix.folder == 'bazel/rules/rules_browsers/test' }}
6157 - uses : ./github-actions/bazel/setup
6258 - uses : ./github-actions/bazel/configure-remote
6359 with :
6460 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
65- - run : pnpm install --frozen-lockfile
61+ - name : Install NPM dependencies
62+ if : matrix.folder != 'bazel/rules/rules_browsers/test'
63+ run : pnpm install --frozen-lockfile
6664 - run : pnpm bazel test -- //...
6765
6866 # macos testing is disabled as we do not have any targets we currently test.
0 commit comments