This commit is contained in:
Araozu 2023-10-25 20:56:46 -05:00
parent bcbad72cdc
commit 7871312233
4 changed files with 10 additions and 1236 deletions

View File

@ -1,15 +1,21 @@
pipeline { pipeline {
agent any agent any
environment { environment {
PATH = "/var/lib/jenkins/.bun/bin:${env.PATH}" PATH = "/var/lib/jenkins/.bun/bin:/var/lib/jenkins/bin:${env.PATH}"
} }
stages { stages {
stage('Test') { stage('Test env') {
steps { steps {
echo 'Testing...' echo 'Testing...'
echo 'Is Bun working?...' echo 'Is Bun working?...'
sh 'bun --version' sh 'bun --version'
} }
} }
stage('Build') {
steps {
sh 'bun tailwind:build'
sh 'md-docs'
}
}
} }
} }

BIN
bun.lockb Executable file

Binary file not shown.

View File

@ -6,7 +6,8 @@
"scripts": { "scripts": {
"generate": "md-docs", "generate": "md-docs",
"watch": "concurrently -k \"pnpm tailwind:watch\" \"serve ./static/ -l 3333\"", "watch": "concurrently -k \"pnpm tailwind:watch\" \"serve ./static/ -l 3333\"",
"tailwind:watch": "tailwindcss -i ./tailwind.css -o ./static/css/out.css --watch" "tailwind:watch": "tailwindcss -i ./tailwind.css -o ./static/css/out.css --watch",
"tailwind:build": "tailwindcss -i ./tailwind.css -o ./static/css/out.css --minify"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",

File diff suppressed because it is too large Load Diff