moving scss to after front-end build to create folder

This commit is contained in:
andy 2021-02-08 00:30:17 +00:00
parent 742c8bcf8a
commit 9ce7c3049e

View File

@ -80,13 +80,6 @@ jobs:
with: with:
node-version: 14 node-version: 14
# JS for compiling scss
- name: Compile Sass
uses: gha-utilities/sass-build@v0.3.5
with:
source: src/scss/style.scss
destination: build/style.css
# JS install from lock.json # JS install from lock.json
- name: Install Node Packages - name: Install Node Packages
run: npm ci run: npm ci
@ -95,6 +88,13 @@ jobs:
- name: Compile front-end - name: Compile front-end
run: npm run build --if-present run: npm run build --if-present
# JS for compiling scss
- name: Compile Sass
uses: gha-utilities/sass-build@v0.3.5
with:
source: src/scss/style.scss
destination: build/style.css
# DEPLOY for setting up cloud API # DEPLOY for setting up cloud API
- name: Set up Cloud SDK - name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@master uses: google-github-actions/setup-gcloud@master