build(ci): lint the code only once
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 29 Jul 2023 19:07:36 +0000 (21:07 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 29 Jul 2023 19:07:36 +0000 (21:07 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml

index e0ec4013ef16e476beafe92e4be7e61a241797f2..e48f47aaa3e880067a2b749d7cc5d0c15f3c4160 100644 (file)
@@ -46,6 +46,7 @@ jobs:
         run: pnpm build
 
       - name: Lint
+        if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }}
         run: pnpm lint
 
       - name: Tests