Skip to content

Commit 04cc4ff

Browse files
run the e2e suite as a separate CI job
1 parent b1d360c commit 04cc4ff

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,33 @@ jobs:
5454

5555
- run: pnpm install
5656

57-
- run: pnpm test:all
57+
# The e2e suite has its own job below; everything else runs here.
58+
- run: pnpm -r --filter '!@modelcontextprotocol/test-e2e' test
59+
60+
test-e2e:
61+
runs-on: ubuntu-latest
62+
strategy:
63+
fail-fast: false
64+
matrix:
65+
node-version: [20, 22, 24]
66+
67+
steps:
68+
- uses: actions/checkout@v6
69+
70+
- name: Install pnpm
71+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
72+
id: pnpm-install
73+
with:
74+
run_install: false
75+
- uses: actions/setup-node@v6
76+
with:
77+
node-version: ${{ matrix.node-version }}
78+
cache: pnpm
79+
cache-dependency-path: pnpm-lock.yaml
80+
81+
- run: pnpm install
82+
83+
- run: pnpm --filter @modelcontextprotocol/test-e2e test
5884

5985
test-runtimes:
6086
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)