Configure ESLint and add it to CI

This commit is contained in:
Vitaliy Filippov
2024-04-16 02:39:31 +03:00
parent fd83fef1d9
commit 2c0801f6e4
10 changed files with 81 additions and 6 deletions
+7
View File
@@ -64,6 +64,13 @@ jobs:
# leak sanitizer sometimes crashes
- run: cd /root/vitastor/build && ASAN_OPTIONS=detect_leaks=0 make -j16 test
npm_lint:
runs-on: ubuntu-latest
needs: build
container: ${{env.TEST_IMAGE}}:${{github.sha}}
steps:
- run: cd /root/vitastor/mon && npm run lint
test_add_osd:
runs-on: ubuntu-latest
needs: build