diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index efbf1b7..b3bbfd1 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,12 @@ jobs: - name: Install dependencies run: npm install - name: Compile CSS - run: npm run scss --style=compressed styles.scss + run: | + npx sass cssOMS/styles.scss cssOMS/styles.css --style=compressed + npx sass cssOMS/animate.scss cssOMS/animate.css --style=compressed + npx sass cssOMS/timeline.scss cssOMS/timeline.css --style=compressed + npx sass cssOMS/tree.scss cssOMS/tree.css --style=compressed + npx sass cssOMS/print.scss cssOMS/print.css --style=compressed - name: Check for modified files id: git-check run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD -- *.{scss,css}; then echo "false"; else echo "true"; fi)