3636 with :
3737 fetch-depth : 0
3838
39+ - uses : dorny/paths-filter@v3
40+ id : changes
41+ with :
42+ filters : |
43+ everything_but_markdown:
44+ - '!**/*.md'
45+
3946 - name : Install Dependencies
47+ if : steps.changes.outputs.everything_but_markdown == 'true'
4048 uses : ./.github/actions/install-dependencies
4149 with :
4250 node-version : ${{ matrix.node }}
@@ -46,11 +54,13 @@ jobs:
4654 turbo-signature : ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
4755
4856 - name : Bump package versions
57+ if : steps.changes.outputs.everything_but_markdown == 'true'
4958 run : node .github/changeset-version.js
5059 env :
5160 GITHUB_TOKEN : ${{ github.token }}
5261
5362 - name : Run Wrangler E2E tests
63+ if : steps.changes.outputs.everything_but_markdown == 'true'
5464 run : pnpm run test:e2e:wrangler
5565 env :
5666 CLOUDFLARE_API_TOKEN : ${{ secrets.TEST_CLOUDFLARE_API_TOKEN }}
6272 CI_OS : ${{ matrix.os }}
6373
6474 - name : Run getPlatformProxy() remote-bindings e2e tests
75+ if : steps.changes.outputs.everything_but_markdown == 'true'
6576 run : pnpm run test:e2e -F @fixture/get-platform-proxy-remote-bindings
6677 env :
6778 TEST_CLOUDFLARE_API_TOKEN : ${{ secrets.TEST_CLOUDFLARE_API_TOKEN }}
@@ -103,8 +114,15 @@ jobs:
103114 with :
104115 fetch-depth : 0
105116
117+ - uses : dorny/paths-filter@v3
118+ id : changes
119+ with :
120+ filters : |
121+ everything_but_markdown:
122+ - '!**/*.md'
123+
106124 - name : Install Dependencies
107- if : github.event.pull_request.head.repo.owner.login == 'cloudflare' || github.event_name == 'merge_group'
125+ if : ( github.event.pull_request.head.repo.owner.login == 'cloudflare' || github.event_name == 'merge_group') && steps.changes.outputs.everything_but_markdown == 'true '
108126 uses : ./.github/actions/install-dependencies
109127 with :
110128 node-version : ${{ matrix.node }}
@@ -114,13 +132,13 @@ jobs:
114132 turbo-signature : ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
115133
116134 - name : Bump package versions
117- if : github.event.pull_request.head.repo.owner.login == 'cloudflare' || github.event_name == 'merge_group'
135+ if : ( github.event.pull_request.head.repo.owner.login == 'cloudflare' || github.event_name == 'merge_group') && steps.changes.outputs.everything_but_markdown == 'true '
118136 run : node .github/changeset-version.js
119137 env :
120138 GITHUB_TOKEN : ${{ github.token }}
121139
122140 - name : Run Vite E2E tests
123- if : github.event.pull_request.head.repo.owner.login == 'cloudflare' || github.event_name == 'merge_group'
141+ if : ( github.event.pull_request.head.repo.owner.login == 'cloudflare' || github.event_name == 'merge_group') && steps.changes.outputs.everything_but_markdown == 'true '
124142 run : pnpm test:e2e -F @cloudflare/vite-plugin --log-order=stream
125143 timeout-minutes : 15
126144 env :
0 commit comments