]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add dart-sass build test
authorXhmikosR <xhmikosr@gmail.com>
Thu, 23 Jan 2020 16:57:00 +0000 (18:57 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 10 Jun 2020 05:19:51 +0000 (08:19 +0300)
Builds the CSS with dart-sass and lists the files in dist-sass/css folder

.github/workflows/dart-sass.yml [new file with mode: 0644]

diff --git a/.github/workflows/dart-sass.yml b/.github/workflows/dart-sass.yml
new file mode 100644 (file)
index 0000000..2328273
--- /dev/null
@@ -0,0 +1,24 @@
+name: CSS (Dart Sass)
+on: [push, pull_request]
+env:
+  CI: true
+  NODE: 10.x
+
+jobs:
+  css:
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Clone repository
+        uses: actions/checkout@v2
+
+      - name: Set Node.js version
+        uses: actions/setup-node@v1
+        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