Compare commits

..

2 Commits

Author SHA1 Message Date
Araozu
113505c65c jenkins 2023-10-26 21:01:33 -05:00
Araozu
0b7ea69e1f Fix deps. Jekinsfil 2023-10-26 20:55:30 -05:00
4 changed files with 467 additions and 518 deletions

24
Jenkinsfile.groovy Normal file
View File

@ -0,0 +1,24 @@
pipeline {
agent any
environment {
PATH = "/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:/var/lib/jenkins/bin:${env.PATH}"
}
stages {
stage('Install') {
steps {
sh 'pnpm i'
}
}
stage('Build') {
steps {
sh 'pnpm build'
}
}
stage('Deploy') {
steps {
sh 'rm -rf /var/www/horarios-v2/*'
sh 'cp -r ./dist/* /var/www/horarios-v2/'
}
}
}
}

View File

@ -18,7 +18,7 @@
"vue": "^3.0.0-rc.5",
"vue-router": "^4.0.0-alpha.6",
"vuex": "^4.0.0-alpha.1",
"webpack": "^4.43.0",
"webpack": "^4.47.0",
"yaml": "^1.10.0",
"yaml-loader": "^0.6.0"
},
@ -32,8 +32,8 @@
"vue-cli-plugin-vue-next": "~0.1.3"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
"defaults",
"not IE 11",
"maintained node versions"
]
}

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@ module.exports = {
{
test: /\.coffee$/,
loader: 'coffee-loader',
}
},
]
},
plugins: [