Skip to content

Commit e4c2766

Browse files
committed
ci(nuxt): Test Nightly Channels of Nuxt
1 parent 9cae1a0 commit e4c2766

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.github/workflows/canary.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ jobs:
108108
- test-application: 'react-router-6'
109109
build-command: 'test:build-canary'
110110
label: 'react-router-6 (canary)'
111+
- test-application: 'nuxt-3'
112+
build-command: 'test:build-nightly'
113+
label: 'nuxt-3 (nightly)'
114+
- test-application: 'nuxt-4'
115+
build-command: 'test:build-nightly'
116+
label: 'nuxt-4 (nightly)'
111117

112118
steps:
113119
- name: Check out current commit

dev-packages/e2e-tests/test-applications/nuxt-3/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"clean": "npx nuxi cleanup",
1313
"test": "playwright test",
1414
"test:build": "pnpm install && pnpm build",
15+
"test:build-nightly": "pnpm install && pnpm rm nuxt && pnpm add nuxt-nightly@3x && pnpm build",
1516
"test:assert": "pnpm test"
1617
},
1718
"dependencies": {
@@ -21,5 +22,13 @@
2122
"devDependencies": {
2223
"@playwright/test": "~1.50.0",
2324
"@sentry-internal/test-utils": "link:../../../test-utils"
25+
},
26+
"sentryTest": {
27+
"optionalVariants": [
28+
{
29+
"build-command": "test:build-nightly",
30+
"label": "nuxt-3 (nightly)"
31+
}
32+
]
2433
}
2534
}

dev-packages/e2e-tests/test-applications/nuxt-4/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"clean": "npx nuxi cleanup",
1313
"test": "playwright test",
1414
"test:build": "pnpm install && pnpm build",
15+
"test:build-nightly": "pnpm install && pnpm rm nuxt && pnpm add nuxt-nightly@latest && pnpm build",
1516
"test:assert": "pnpm test"
1617
},
1718
"dependencies": {
@@ -25,5 +26,13 @@
2526
},
2627
"overrides": {
2728
"@vercel/nft": "0.27.4"
29+
},
30+
"sentryTest": {
31+
"optionalVariants": [
32+
{
33+
"build-command": "test:build-nightly",
34+
"label": "nuxt-4 (nightly)"
35+
}
36+
]
2837
}
2938
}

0 commit comments

Comments
 (0)