jenkins
This commit is contained in:
parent
bcbad72cdc
commit
7871312233
@ -1,15 +1,21 @@
|
||||
pipeline {
|
||||
agent any
|
||||
environment {
|
||||
PATH = "/var/lib/jenkins/.bun/bin:${env.PATH}"
|
||||
PATH = "/var/lib/jenkins/.bun/bin:/var/lib/jenkins/bin:${env.PATH}"
|
||||
}
|
||||
stages {
|
||||
stage('Test') {
|
||||
stage('Test env') {
|
||||
steps {
|
||||
echo 'Testing...'
|
||||
echo 'Is Bun working?...'
|
||||
sh 'bun --version'
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'bun tailwind:build'
|
||||
sh 'md-docs'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -6,7 +6,8 @@
|
||||
"scripts": {
|
||||
"generate": "md-docs",
|
||||
"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": [],
|
||||
"author": "",
|
||||
|
1233
pnpm-lock.yaml
1233
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user