Skip to content

Commit 9c8eb8f

Browse files
committed
Fix example-app build for next@14
1 parent e171622 commit 9c8eb8f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ jobs:
122122
run: npm install
123123
- working-directory: ./example
124124
run: npm run build
125-
- if: matrix.os == 'ubuntu-latest' && matrix.node_version == 20 && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.action == 'published')
126-
working-directory: ./example
127-
run: npm run export
128125
- if: matrix.os == 'ubuntu-latest' && matrix.node_version == 20 && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.action == 'published')
129126
uses: actions/upload-artifact@v3
130127
with:

example/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const assetPrefix = `/${repo}/`
33
const basePath = `/${repo}`
44

55
module.exports = {
6+
output: 'export',
67
assetPrefix: assetPrefix,
78
basePath: basePath,
89
}

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"prettier:check": "prettier -c pages components",
1313
"lint": "next lint",
1414
"typescript": "tsc",
15-
"clean": "rimraf node_modules build"
15+
"clean": "rimraf node_modules build out"
1616
},
1717
"dependencies": {
1818
"@ginkgo-bioworks/react-json-schema-form-builder": "file:..",

0 commit comments

Comments
 (0)