From 906ba5c516ac3b3dd99bddefba64e82405b3b8be Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 29 Jul 2023 21:11:19 +0200 Subject: [PATCH] build(ci): lint the code only once MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.34.1