Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 400b953

Browse files
authored
chore: run e2e tests on Next.js 10.0.x, move existing 9.5.x tests to … (#768)
1 parent dc48643 commit 400b953

File tree

117 files changed

+35429
-595
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+35429
-595
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,16 @@ jobs:
5959
matrix:
6060
node-version: [12.x]
6161
app:
62+
# Current minor version of Next.js
6263
- next-app
6364
- next-app-with-trailing-slash
6465
- next-app-with-base-path
6566
- next-app-dynamic-routes
67+
# Previous minor version of Next.js
68+
- prev-next-app
69+
- prev-next-app-with-trailing-slash
70+
- prev-next-app-with-base-path
71+
- prev-next-app-dynamic-routes
6672

6773
steps:
6874
# For non-fork PRs

packages/e2e-tests/next-app-dynamic-routes/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"homepage": "https://github.com/serverless-next.js/serverless-next.js",
2121
"dependencies": {
2222
"isomorphic-fetch": "2.2.1",
23-
"next": "9.5.5",
24-
"react": "16.13.1",
25-
"react-dom": "16.13.1"
23+
"next": "~10.0.1",
24+
"react": "17.0.1",
25+
"react-dom": "17.0.1"
2626
},
2727
"devDependencies": {
2828
"@bahmutov/print-env": "2.1.2",

packages/e2e-tests/next-app-dynamic-routes/yarn.lock

Lines changed: 420 additions & 148 deletions
Large diffs are not rendered by default.

packages/e2e-tests/next-app-with-base-path/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"homepage": "https://github.com/serverless-next.js/serverless-next.js",
2121
"dependencies": {
2222
"isomorphic-fetch": "2.2.1",
23-
"next": "9.5.5",
24-
"react": "16.13.1",
25-
"react-dom": "16.13.1"
23+
"next": "~10.0.1",
24+
"react": "17.0.1",
25+
"react-dom": "17.0.1"
2626
},
2727
"devDependencies": {
2828
"@bahmutov/print-env": "2.1.2",

packages/e2e-tests/next-app-with-base-path/yarn.lock

Lines changed: 417 additions & 145 deletions
Large diffs are not rendered by default.

packages/e2e-tests/next-app-with-trailing-slash/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"homepage": "https://github.com/serverless-next.js/serverless-next.js",
2121
"dependencies": {
2222
"isomorphic-fetch": "2.2.1",
23-
"next": "9.5.5",
24-
"react": "16.13.1",
25-
"react-dom": "16.13.1"
23+
"next": "~10.0.1",
24+
"react": "17.0.1",
25+
"react-dom": "17.0.1"
2626
},
2727
"devDependencies": {
2828
"@bahmutov/print-env": "2.1.2",

packages/e2e-tests/next-app-with-trailing-slash/yarn.lock

Lines changed: 417 additions & 145 deletions
Large diffs are not rendered by default.

packages/e2e-tests/next-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"homepage": "https://github.com/serverless-next.js/serverless-next.js",
2121
"dependencies": {
2222
"isomorphic-fetch": "2.2.1",
23-
"next": "9.5.5",
24-
"react": "16.13.1",
25-
"react-dom": "16.13.1"
23+
"next": "~10.0.1",
24+
"react": "17.0.1",
25+
"react-dom": "17.0.1"
2626
},
2727
"devDependencies": {
2828
"@bahmutov/print-env": "2.1.2",

0 commit comments

Comments
 (0)