From 9566fb8007bcf22b7e6ec6324c241157b93fb356 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Wed, 1 Jun 2022 09:00:22 +0200 Subject: [PATCH] Add --if-present flag to prevent error when sass script does not exists Signed-off-by: Louis Chemineau --- .github/workflows/command-compile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/command-compile.yml b/.github/workflows/command-compile.yml index 24af3eff5cf..afcb4b362ad 100644 --- a/.github/workflows/command-compile.yml +++ b/.github/workflows/command-compile.yml @@ -87,10 +87,10 @@ jobs: npm run build --if-present - name: Build css - run: npm run sass + run: npm run --if-present sass - name: Build icons css - run: npm run sass:icons + run: npm run --if-present sass:icons - name: Commit and push default if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }} -- 2.39.5