mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 20:59:03 +00:00
Fix ESLint step in CI - part 2 (#1086)
* Run ESLint inside the testing container * Switch to `docker exec` as the container is still alive after the testing * Get back to `docker run`, as `exec` doesn't work for stopped containers * Add missing ESLint plugin for React * And 1 more missing plugin * Add missing command to copy the report * Set `$PHOTOVIEW_LISTEN_IP` to "0.0.0.0" as it has to accept connections from outside and from the healthcheck in localhost --------- Co-authored-by: Konstantin Koval <kkb@ukr.net>
This commit is contained in:
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@@ -125,7 +125,8 @@ jobs:
|
||||
- name: Run ESLint
|
||||
working-directory: ui
|
||||
run: |
|
||||
npm run lint:ci || true
|
||||
docker run --name eslint photoview/ui npm run lint:ci || true
|
||||
docker cp eslint:/app/ui/eslint-report.txt ./
|
||||
echo "--------------------------"
|
||||
echo "ESLint execution results :"
|
||||
echo "--------------------------"
|
||||
|
||||
Reference in New Issue
Block a user