jenkins
This commit is contained in:
parent
269670167c
commit
830b84de6b
@ -1,19 +1,19 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
environment {
|
environment {
|
||||||
PATH = "/var/lib/jenkins/.bun/bin:/var/lib/jenkins/bin:${env.PATH}"
|
PATH = "/var/lib/jenkins/.local/share/pnpm:/var/lib/jenkins/.nvm:/var/lib/jenkins/.bun/bin:/var/lib/jenkins/bin:${env.PATH}"
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Test env') {
|
stage('Test env') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Testing...'
|
echo 'Testing...'
|
||||||
echo 'Is Bun working?...'
|
echo 'Is pnpm working?...'
|
||||||
sh 'bun --version'
|
sh 'pnpm --version'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Install') {
|
stage('Install') {
|
||||||
steps {
|
steps {
|
||||||
sh 'bun install'
|
sh 'pnpm i'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
@ -21,7 +21,7 @@ pipeline {
|
|||||||
PATH = "${env.WORKSPACE}/node_modules/.bin:${env.PATH}"
|
PATH = "${env.WORKSPACE}/node_modules/.bin:${env.PATH}"
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'bun run tailwind:build'
|
sh 'pnpm tailwind:build'
|
||||||
sh 'md-docs'
|
sh 'md-docs'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1225
pnpm-lock.yaml
Normal file
1225
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user