Merge pull request #143 from mrtineu/master #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sass | |
on: [push, pull_request] | |
jobs: | |
dart-sass: | |
name: Dart Sass v1.0.0 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 8 # v8 required for sass v1.0.0 | |
- run: | | |
npm install -g [email protected] | |
sass --version | |
- run: time sass src/govuk/all.scss > /dev/null | |
lib-sass: | |
name: LibSass v3.3.0 (deprecated) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 4 # v4 required for node-sass v3.4.0 | |
- run: | | |
npm install -g [email protected] | |
node-sass --version | |
- run: time node-sass src/govuk/all.scss > /dev/null | |
ruby-sass: | |
name: Ruby Sass v3.4.0 (deprecated) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.1.9 # Oldest version available on ruby/setup-ruby | |
- run: | | |
gem install sass -v 3.4.0 | |
sass --version | |
- run: time sass src/govuk/all.scss > /dev/null |