소스 검색

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…
취소
저장