File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - master
77 - next
8- - staging
9- - trying
108 pull_request :
119 branches :
1210 - master
3129 with :
3230 node-version : ${{ matrix.node-version }}
3331
32+ - uses : dorny/paths-filter@v2
33+ id : filter
34+ with :
35+ filters : |
36+ cli:
37+ - 'packages/cli/**'
38+
3439 - uses : actions/cache@v3
3540 id : gittar-cache
3641 with :
@@ -48,19 +53,11 @@ jobs:
4853 restore-keys : ${{ runner.os }}-yarn-
4954
5055 - run : yarn install --frozen-lockfile
51- - name : test
56+
57+ - name : test:cli
58+ if : steps.filter.outputs.cli == 'true'
5259 env :
5360 CI : true
5461 WITH_LOG : true
5562 LIGHTHOUSE_CHROMIUM_PATH : ' which google-chrome-stable'
56- run : npm run test
57-
58- ci-success :
59- name : ci
60- if : ${{ success() }}
61- needs :
62- - test
63- runs-on : ubuntu-latest
64- steps :
65- - name : CI succeeded
66- run : exit 0
63+ run : yarn test:cli
You can’t perform that action at this time.
0 commit comments