mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 16:32:31 +01:00
fix (jenkins): check of new frontend
This commit is contained in:
parent
d6613c4452
commit
bbd01070fb
1 changed files with 8 additions and 1 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
|
@ -50,11 +50,18 @@ pipeline {
|
|||
sh "cat access.log | grep -vz \"WARN\""
|
||||
sh "cat access.log | grep -vz \"ERR\""
|
||||
}
|
||||
// test frontend
|
||||
// test frontend old
|
||||
docker.image("node:14").inside("--user=root") {
|
||||
sh "cd ./test/unit_js && npm install"
|
||||
sh "cd ./test/unit_js && npm test"
|
||||
}
|
||||
// test frontend new
|
||||
docker.image("node:20").inside("--user=root") {
|
||||
sh "cd public && npm install"
|
||||
// sh "cd public && npm run lint"
|
||||
sh "cd public && npm run check"
|
||||
// sh "cd public && npm run test"
|
||||
}
|
||||
// test backend
|
||||
docker.image("golang:1.21-bookworm").inside("--user=root") {
|
||||
sh "cp ./test/assets/* /tmp/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue