2020-06-12 20:12:53 +02:00
|
|
|
name: CSS (Dart Sass)
|
2020-10-29 18:26:15 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
- "dependabot/**"
|
|
|
|
pull_request:
|
|
|
|
|
2020-06-12 20:12:53 +02:00
|
|
|
env:
|
2020-11-23 20:32:25 +01:00
|
|
|
FORCE_COLOR: 2
|
2020-10-29 18:38:31 +01:00
|
|
|
NODE: 14.x
|
2020-06-12 20:12:53 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
css:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Clone repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2020-10-29 18:26:15 +01:00
|
|
|
- name: Set up Node.js
|
2021-01-05 20:56:31 +01:00
|
|
|
uses: actions/setup-node@v2
|
2020-06-12 20:12:53 +02:00
|
|
|
with:
|
|
|
|
node-version: "${{ env.NODE }}"
|
|
|
|
|
|
|
|
- name: Build CSS with Dart Sass
|
|
|
|
run: |
|
|
|
|
npx --package sass@latest sass --version
|
|
|
|
npx --package sass@latest sass --style expanded --source-map --embed-sources --no-error-css scss/:dist-sass/css/
|
|
|
|
ls -Al dist-sass/css
|