Skip to content

Commit 12675cc

Browse files
authored
Collapse CI jobs into one (#7937)
1 parent 17ce7f5 commit 12675cc

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/test-and-check.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,11 @@ jobs:
102102
matrix:
103103
os: [ubuntu-latest, windows-latest, macos-13]
104104
filter:
105-
[
106-
"./packages/*",
107-
"./fixtures/*",
108-
"./packages/vite-plugin-cloudflare/playground",
109-
]
105+
- '--filter="./packages/*" --filter="./fixtures/*" --filter="./packages/vite-plugin-cloudflare/playground"'
110106
# Things in the tools folder are for running in CI, and so only need to run on linux
111107
include:
112108
- os: ubuntu-latest
113-
filter: "./tools"
109+
filter: '--filter="./tools"'
114110
runs-on: ${{ matrix.os }}
115111
steps:
116112
- name: Checkout Repo
@@ -136,7 +132,7 @@ jobs:
136132

137133
- name: Run tests
138134
if: steps.changes.outputs.everything_but_markdown == 'true'
139-
run: pnpm run test:ci --concurrency 1 --filter=${{ matrix.filter }}
135+
run: pnpm run test:ci --concurrency 1 ${{ matrix.filter }}
140136
env:
141137
TMP_CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
142138
TMP_CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 commit comments

Comments
 (0)