All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
23 lines
509 B
Groovy
23 lines
509 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Prepare') {
|
|
steps {
|
|
sh 'echo "VUE_APP_API_URL=https://api.csgow.tf" > .env.production'
|
|
}
|
|
}
|
|
stage('Install Dependencies') {
|
|
steps {
|
|
sh 'yarn install'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
sh 'yarn build'
|
|
archiveArtifacts artifacts: '**/dist/**', excludes: '**/node_modules/**'
|
|
}
|
|
}
|
|
}
|
|
}
|