From: Jérôme Benoit Date: Sat, 29 Jul 2023 19:11:19 +0000 (+0200) Subject: build(ci): lint the code only once X-Git-Tag: v1.2.20~94 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=906ba5c516ac3b3dd99bddefba64e82405b3b8be;p=e-mobility-charging-stations-simulator.git build(ci): lint the code only once Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06fee6c3..685af355 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,7 @@ jobs: - name: pnpm install run: pnpm install - name: pnpm lint + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} run: pnpm lint - name: pnpm build run: pnpm build @@ -66,6 +67,7 @@ jobs: - name: pnpm install run: pnpm install - name: pnpm lint + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} run: pnpm lint - name: pnpm build run: pnpm build