Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dart-sass.yml « workflows « .github - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b5466a09e26e24005f9a627d51f6dab38de1103 (plain)
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
31
32
33
name: CSS (Dart Sass)

on:
  push:
    branches:
      - master
      - "**-ci"
  pull_request:
    branches:
      - "**"

env:
  CI: true
  NODE: 12.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