Skip to content

Commit

Permalink
[YUNIKORN-2899] Update node version to 20.17 and update packages (#476)
Browse files Browse the repository at this point in the history
Closes: #476

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
ryankert01 authored and craigcondit committed Oct 4, 2024
1 parent b564b49 commit 82cbbff
Show file tree
Hide file tree
Showing 5 changed files with 2,445 additions and 2,401 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: "Build and run website locally"
working-directory: './yunikorn-master'
run: |
NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-18.17}
NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-20.17}
git log master --pretty=format:"Auto refresh: %s" -n 1 > ../asf-site-commit.txt
docker build -t yunikorn/yunikorn-website:2.0.0 . --build-arg NODE_VERSION=${NODE_VERSION}
docker run --name yunikorn-site -d -p 3000:3000 yunikorn/yunikorn-website:2.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
run: ./check_license.sh
- name: Build the site image
run: |
NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-18.17}
NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-20.17}
docker build -t yunikorn/yunikorn-website:2.0.0 . --build-arg NODE_VERSION=${NODE_VERSION}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.19
20.17
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@
"preinstall": "npx only-allow pnpm",
"start": "docusaurus start",
"build": "docusaurus build",
"serve": "docusaurus serve",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"release": "docusaurus docs:version"
},
"dependencies": {
"@docusaurus/core": "3.2.1",
"@docusaurus/preset-classic": "3.2.1",
"@docusaurus/theme-search-algolia": "3.2.1",
"@docusaurus/core": "3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@docusaurus/theme-search-algolia": "3.5.2",
"@mdx-js/react": "^3.0.1",
"axios": "1.6.8",
"clsx": "^2.1.0",
"node": "^18.20.1",
"axios": "^1.7.7",
"clsx": "^2.1.1",
"node": "^20.17.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
Expand All @@ -39,7 +40,8 @@
"trim@<0.0.3": ">=0.0.3",
"loader-utils@>=3.0.0 <3.2.1": ">=3.2.1",
"minimatch@<3.0.5": ">=3.0.5",
"axios@>=0.8.1 <0.28.0": ">=0.28.0"
"axios@>=0.8.1 <0.28.0": ">=0.28.0",
"path-to-regexp@>=2.0.0 <3.3.0": ">=3.3.0"
}
}
}
Loading

0 comments on commit 82cbbff

Please sign in to comment.