Skip to content

Commit ff5650a

Browse files
committed
ci: wire up vinext e2e tests in CI pipeline
Add test:integration:vinext script, turbo task, and CI matrix entry so the @vinext tagged integration tests run on every PR.
1 parent 5774982 commit ff5650a

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ jobs:
304304
"vue",
305305
"nuxt",
306306
"react-router",
307+
"vinext",
307308
"custom",
308309
]
309310
test-project: ["chrome"]

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"test:integration:sessions": "DISABLE_WEB_SECURITY=true E2E_SESSIONS_APP_1_ENV_KEY=sessions-prod-1 E2E_SESSIONS_APP_2_ENV_KEY=sessions-prod-2 E2E_SESSIONS_APP_1_HOST=multiple-apps-e2e.clerk.app pnpm test:integration:base --grep @sessions",
6161
"test:integration:sessions:staging": "DISABLE_WEB_SECURITY=true E2E_SESSIONS_APP_1_ENV_KEY=clerkstage-sessions-prod-1 E2E_SESSIONS_APP_2_ENV_KEY=clerkstage-sessions-prod-2 E2E_SESSIONS_APP_1_HOST=clerkstage-sessions-prod-1-e2e.clerk.app pnpm test:integration:base --grep @sessions",
6262
"test:integration:tanstack-react-start": "E2E_APP_ID=tanstack.react-start pnpm test:integration:base --grep @tanstack-react-start",
63+
"test:integration:vinext": "pnpm test:integration:base --grep @vinext",
6364
"test:integration:vue": "E2E_APP_ID=vue.vite pnpm test:integration:base --grep @vue",
6465
"test:typedoc": "pnpm typedoc:generate && cd ./.typedoc && vitest run",
6566
"turbo:clean": "turbo daemon clean",

turbo.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@
271271
"inputs": ["integration/**"],
272272
"outputLogs": "new-only"
273273
},
274+
"//#test:integration:vinext": {
275+
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
276+
"inputs": ["integration/**"],
277+
"outputLogs": "new-only"
278+
},
274279
"//#test:integration:vue": {
275280
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
276281
"inputs": ["integration/**"],

0 commit comments

Comments
 (0)