Skip to content

Commit

Permalink
feat(jenkinsfile): 🎉 add a new jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhangunduz committed Nov 21, 2023
1 parent f66b4c9 commit f922986
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img src="https://img.shields.io/badge/nodejs-18.18.2-dgreen" alt="node">
</a>
<a href="https://github.com/robolaunch/ui/releases">
<img src="https://img.shields.io/badge/release-v0.20.8-red" alt="release">
<img src="https://img.shields.io/badge/release-v0.20.9-red" alt="release">
</a>
<a href="#">
<img src="https://img.shields.io/badge/language-typescript-blue" alt="language">
Expand Down
6 changes: 2 additions & 4 deletions docker/Jenkinsfile-public-demo
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ pipeline {
container('ubuntu') {
sh 'npm install -g n'
sh 'n latest'
sh 'apt-get install unzip -y'
sh 'npm install -g bun'
}
}
}
Expand All @@ -59,10 +61,7 @@ pipeline {
stage('Install Depends') {
steps {
container('ubuntu') {
sh 'apt-get install unzip -y'
sh 'npm install -g bun'
sh 'bun install'
// sh 'npm i --force'
}
}
}
Expand All @@ -73,7 +72,6 @@ pipeline {
writeFile file:'./.env', text: readFile(text)
}
sh 'bun react-scripts build'
// sh 'npm run build'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui",
"version": "0.20.8",
"version": "0.20.9",
"private": true,
"scripts": {
"dev": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion src/components/UsagesWidget/UsagesWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function UsagesWidget({
>
<div className="flex h-full w-full items-center justify-center gap-20 p-10 lg:p-6 xl:p-2">
{datas?.map((data: any) => {
return <CirclePercentageBar key={data?.title} {...data} size={88} />;
return <CirclePercentageBar {...data} size={88} />;
})}
<NetworkChart />
</div>
Expand Down

0 comments on commit f922986

Please sign in to comment.