Преглед изворни кода

Add --if-present flag to prevent error when sass script does not exists

Signed-off-by: Louis Chemineau <louis@chmn.me>
tags/v25.0.0beta1
Louis Chemineau пре 2 година
родитељ
комит
9566fb8007
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      .github/workflows/command-compile.yml

+ 2
- 2
.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' }}

Loading…
Откажи
Сачувај