Browse Source

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 years ago
parent
commit
9566fb8007
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .github/workflows/command-compile.yml

+ 2
- 2
.github/workflows/command-compile.yml View File

npm run build --if-present npm run build --if-present


- name: Build css - name: Build css
run: npm run sass
run: npm run --if-present sass


- name: Build icons css - name: Build icons css
run: npm run sass:icons
run: npm run --if-present sass:icons


- name: Commit and push default - name: Commit and push default
if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }} if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}

Loading…
Cancel
Save