Skip to content

Commit

Permalink
Fix example-app build for next@14
Browse files Browse the repository at this point in the history
  • Loading branch information
raymond-lam committed Dec 4, 2023
1 parent e171622 commit 9c8eb8f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ jobs:
run: npm install
- working-directory: ./example
run: npm run build
- if: matrix.os == 'ubuntu-latest' && matrix.node_version == 20 && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.action == 'published')
working-directory: ./example
run: npm run export
- if: matrix.os == 'ubuntu-latest' && matrix.node_version == 20 && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.action == 'published')
uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions example/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const assetPrefix = `/${repo}/`
const basePath = `/${repo}`

module.exports = {
output: 'export',
assetPrefix: assetPrefix,
basePath: basePath,
}
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"prettier:check": "prettier -c pages components",
"lint": "next lint",
"typescript": "tsc",
"clean": "rimraf node_modules build"
"clean": "rimraf node_modules build out"
},
"dependencies": {
"@ginkgo-bioworks/react-json-schema-form-builder": "file:..",
Expand Down

0 comments on commit 9c8eb8f

Please sign in to comment.