File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -208,10 +208,19 @@ jobs:
208
208
run : |
209
209
npm i -g netlify-cli
210
210
netlify login
211
+ - name : Resolve Next.js version
212
+ id : resolve-next-version
213
+ shell : bash
214
+ run : |
215
+ RESOLVED_VERSION=$(npm view next@${{ matrix.version }} version)
216
+ echo "version=$RESOLVED_VERSION" >> $GITHUB_OUTPUT
217
+ echo "Resolved Next.js version for 'next@${{ matrix.version }}' is '$RESOLVED_VERSION'"
211
218
- name : ' Smoke tests'
212
219
run : npm run test:ci:smoke
213
220
env :
214
221
NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_TOKEN }}
222
+ NEXT_VERSION : ${{ matrix.version }}
223
+ NEXT_RESOLVED_VERSION : ${{ steps.resolve-next-version.outputs.version }}
215
224
216
225
merge-reports :
217
226
if : always()
Original file line number Diff line number Diff line change 3
3
import { readFile , writeFile } from 'node:fs/promises'
4
4
5
5
import fg from 'fast-glob'
6
- import { valid , satisfies , gte } from 'semver'
6
+ import { gte , satisfies , valid } from 'semver'
7
7
8
8
const FUTURE_NEXT_PATCH_VERSION = '14.999.0'
9
9
10
10
const NEXT_VERSION_REQUIRES_REACT_19 = '14.3.0-canary.45'
11
11
// TODO: Update this when React 19 is released
12
- const REACT_19_VERSION = '19.0.0-rc-3f1436cca1-20240516 '
12
+ const REACT_19_VERSION = '19.0.0-rc-f994737d14-20240522 '
13
13
const REACT_18_VERSION = '18.2.0'
14
14
15
15
/**
You can’t perform that action at this time.
0 commit comments