chore (maintenance): jenkinsfile update

This commit is contained in:
MickaelK 2025-07-16 17:28:55 +10:00
parent 1c915345e8
commit 1657fbe099
3 changed files with 4 additions and 22 deletions

View file

@ -4,19 +4,13 @@
"es2021": true
},
"extends": [
"plugin:react/recommended",
"google"
],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
"ecmaFeatures": {}
},
"plugins": [
"react"
],
"rules": {
"indent": [2, 4],
"quotes": [2, "double"],
@ -26,18 +20,11 @@
"max-len": ["error", 100],
"prefer-promise-reject-errors": [0],
"guard-for-in": [0],
"react/prop-types": [0],
"new-cap": [0],
"prefer-spread": [0],
"max-len": [0],
"no-invalid-this": [0],
"react/display-name": [0],
"prefer-rest-params": [0],
"react/no-direct-mutation-state": [0],
"no-throw-literal": [1],
"react/no-find-dom-node": [1],
"react/no-string-refs": [1],
"react/no-deprecated": [1]
"no-throw-literal": [1]
}
}

7
Jenkinsfile vendored
View file

@ -46,12 +46,7 @@ pipeline {
sh "cat access.log | grep -q \"listening\""
sh "cat access.log | grep -vz \"ERR\""
}
// 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
// test frontend
docker.image("node:20").inside("--user=root") {
sh "cd public && npm install"
// sh "cd public && npm run lint"

View file

@ -481,4 +481,4 @@ export const wasi = {
H32[(buf+76) >> 2] = 0; /* st_ino (high) */
return 0;
}
}
};