aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/.github/workflows/dart-sass.yml
blob: 2b867d6bd1ef8253e8e9d3972cf5f9d7fc898d8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CSS (Dart Sass)

on:
  push:
    branches-ignore:
      - "dependabot/**"
  pull_request:

env:
  FORCE_COLOR: 2
  NODE: 14

jobs:
  css:
    runs-on: ubuntu-latest

    steps:
      - name: Clone repository
        uses: actions/checkout@v2

      - name: Set up Node.js
        uses: actions/setup-node@v2
        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