2020-09-23 10:13:24 +02:00
|
|
|
name: CSS (node-sass)
|
2020-10-29 18:26:15 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
- "dependabot/**"
|
|
|
|
pull_request:
|
|
|
|
|
2020-01-23 17:57:00 +01:00
|
|
|
env:
|
|
|
|
CI: true
|
2020-10-29 18:38:31 +01:00
|
|
|
NODE: 14.x
|
2020-01-23 17:57:00 +01: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
|
2020-01-23 17:57:00 +01:00
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: "${{ env.NODE }}"
|
|
|
|
|
2020-09-23 10:13:24 +02:00
|
|
|
- name: Build CSS with node-sass
|
2020-01-23 17:57:00 +01:00
|
|
|
run: |
|
2020-09-23 10:13:24 +02:00
|
|
|
npx --package node-sass@latest node-sass --version
|
|
|
|
npx --package node-sass@latest node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist-sass/css/
|
2020-01-23 17:57:00 +01:00
|
|
|
ls -Al dist-sass/css
|