aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/command-compile.yml6
-rw-r--r--.github/workflows/node.yml6
-rw-r--r--package.json1
3 files changed, 1 insertions, 12 deletions
diff --git a/.github/workflows/command-compile.yml b/.github/workflows/command-compile.yml
index afcb4b362ad..090324e987b 100644
--- a/.github/workflows/command-compile.yml
+++ b/.github/workflows/command-compile.yml
@@ -86,12 +86,6 @@ jobs:
npm ci
npm run build --if-present
- - name: Build css
- run: npm run --if-present sass
-
- - name: Build icons css
- run: npm run --if-present sass:icons
-
- name: Commit and push default
if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}
run: |
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index 7173a224c24..443ed95dd24 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -45,12 +45,6 @@ jobs:
npm ci
npm run build --if-present
- - name: Build css
- run: npm run sass
-
- - name: Build icons css
- run: npm run sass:icons
-
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
diff --git a/package.json b/package.json
index b063202c3f6..e30f640eb51 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
},
"scripts": {
"build": "NODE_ENV=production webpack --progress --config webpack.prod.js",
+ "postbuild": "npm run sass && npm run sass:icons",
"dev": "NODE_ENV=development webpack --progress --config webpack.dev.js",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js",
"lint": "eslint 'apps/*/src/**/*.{vue,js}' 'core/src/**/*.{vue,js}'",