Skip to content

Commit

Permalink
Merge pull request #837 from BIDMCDigitalPsychiatry/build-bug-fix
Browse files Browse the repository at this point in the history
Build fix
  • Loading branch information
sarithapillai8 authored Oct 29, 2024
2 parents 90fee37 + c96065d commit 0b5ebc3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
submodules: true
- uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '20.x'
- name: Install & Build
run: |
npm install
npm install --legacy-peer-deps
npm run build
gh-release:
if: github.event_name == 'push'
Expand All @@ -28,10 +28,10 @@ jobs:
submodules: true
- uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '20.x'
- name: Install & Build
run: |
npm install
npm install --legacy-peer-deps
npm run build
- uses: JamesIves/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package-lock.json
.cache-loader
openapi.json
sidebar.json
docusaurus.config.js
# docusaurus.config.js

# Misc
.DS_Store
Expand Down
8 changes: 8 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// "module.exports = require('./package.json').docusaurus"

module.exports = {
"baseUrl": "/",
"title": "LAMP Platform",
"url": "https://docs.lamp.digital",
}

16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@docusaurus/core": "2.0.0-beta.14",
"@docusaurus/preset-classic": "2.0.0-beta.14",
"@docusaurus/utils": "2.0.0-beta.14",
"@docusaurus/core": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@docusaurus/utils": "^3.5.2",
"@easyops-cn/docusaurus-search-local": "^0.20.0",
"@monaco-editor/react": "^4.3.1",
"ajv": "^8.17.1",
"ajv-keywords": "^5.1.0",
"docusaurus-preset-openapi": "^0.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"url": "^0.11.0"
},
"overrides": {
"postman-collection": "4.1.1"
},
"scripts": {
"fix-config": "echo \"module.exports = require('./package.json').docusaurus\" > docusaurus.config.js",
"prebuild": "npm run fix-config",
"prestart": "npm run prebuild",
"prebuild": "",
"prestart": "",
"docusaurus": "docusaurus",
"start": "docusaurus start --host 0.0.0.0 --no-open --poll",
"build": "docusaurus build --no-minify",
Expand Down

0 comments on commit 0b5ebc3

Please sign in to comment.