diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..58f00577 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,42 @@ +name: CI + +on: + push: + branches-ignore: + - "dependabot/**" + pull_request: + +env: + FORCE_COLOR: 2 + +jobs: + test: + name: Node ${{ matrix.node }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - windows-latest + node: + - 12 + - 14 + - 16 + + steps: + - name: Clone repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + cache: npm + + - name: Install npm dependencies + run: npm ci + + - name: Test + run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 15f82ea9..00000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -sudo: false - -language: node_js - -node_js: - - lts/boron - - lts/carbon - - current diff --git a/README.md b/README.md index c6d58ad4..cb1e6ba6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# gulp-sass ![Build status](https://img.shields.io/travis/dlmanning/gulp-sass) [![Join the chat at https://gitter.im/dlmanning/gulp-sass](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/dlmanning/gulp-sass?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ![Node support](https://img.shields.io/node/v/gulp-sass) ![NPM package version](https://img.shields.io/npm/v/gulp-sass?label=npm%20version) +# gulp-sass [![Build Status](https://img.shields.io/github/workflow/status/dlmanning/gulp-sass/CI/master)](https://github.com/dlmanning/gulp-sass/actions?query=workflow%3ACI+branch%3Amaster) [![Join the chat at https://gitter.im/dlmanning/gulp-sass](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/dlmanning/gulp-sass) ![Node support](https://img.shields.io/node/v/gulp-sass) ![npm package version](https://img.shields.io/npm/v/gulp-sass?label=npm%20version) Sass plugin for [Gulp](https://github.com/gulpjs/gulp). @@ -44,7 +44,7 @@ const sass = gulpSass( dartSass ); `gulp-sass` must be used in a Gulp task. Your task can call `sass()` (to asynchronously render your CSS), or `sass.sync()` (to synchronously render your CSS). Then, export your task with the `export` keyword. We'll show some examples of how to do that. -**⚠️ Note:** When using Dart Sass, **synchronous rendering is twice as fast as asynchronous rendering**. The Sass team is exploring ways to improve asynchronous rendering with Dart Sass, but for now you will get the best performance from `sass.sync()`. If performance is critical, you can use `node-sass` instead, but bear in mind that `node-sass` may not support modern Sass features you rely on. +**⚠️ Note:** When using Dart Sass, **synchronous rendering is twice as fast as asynchronous rendering**. The Sass team is exploring ways to improve asynchronous rendering with Dart Sass, but for now you will get the best performance from `sass.sync()`. If performance is critical, you can use `node-sass` instead, but bear in mind that `node-sass` may not support modern Sass features you rely on. ### Render your CSS diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 357ebdb7..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: "{build}" - -cache: - - '%AppData%\npm-cache' - -build: off - -platform: - - x64 - - x86 - -environment: - matrix: - - nodejs_version: 6 - - nodejs_version: 8 - - nodejs_version: 9 - -install: - - ps: Install-Product node $env:nodejs_version $env:platform - - npm install - -test_script: - - node --version - - npm --version - - npm test