We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f64e4 commit 145c30aCopy full SHA for 145c30a
.github/workflows/check-nextjs.yml
@@ -31,9 +31,16 @@ jobs:
31
node-version: ${{ matrix.NODE }}
32
cache: 'npm'
33
34
+ - name: Extract create-next-app version
35
+ run: |
36
+ NEXT_APP_VERSION=$(node -e "const versions = require('./packages/devextreme-cli/src/utility/latest-versions.js'); console.log(versions['create-next-app'])")
37
+ echo "Using create-next-app version: $NEXT_APP_VERSION"
38
+ echo "NEXT_APP_VERSION=$NEXT_APP_VERSION" >> $GITHUB_ENV
39
+ shell: bash
40
+
41
- name: Create Next.js application
42
run: |
- npx create-next-app@latest test-nextjs-app \
43
+ npx create-next-app@{{ env.NEXT_APP_VERSION }} test-nextjs-app \
44
--typescript=${{ matrix.TYPESCRIPT }} \
45
--src-dir=${{ matrix.SRC_DIR }} \
46
--app=${{ matrix.APP_ROUTER }} \
0 commit comments