Try to fix path in eslint report in CI
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 22 Oct 2022 09:08:52 +0000 (11:08 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 22 Oct 2022 09:08:52 +0000 (11:08 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml

index f4b4e42299393e20c75e04b974024233391a3c8b..9f12fe0c4266b82cbc81438bea01ea7aab147d28 100644 (file)
@@ -49,6 +49,7 @@ jobs:
         run: |
           npm run coverage
           npm run lint:report
+          sed -i 's+/home/runner/work/*+/github/workspace+g' reports/eslint.json
 
       - name: Sonar Code Analysis
         if: "github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"