mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 04:24:50 +01:00
24 lines
506 B
YAML
24 lines
506 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main, 'feature.*']
|
|
pull_request:
|
|
|
|
jobs:
|
|
unit_tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
ruby-version: ['2.5.3']
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with: {node-version: 16}
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{ matrix.ruby-version }}
|
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
- run: bundle exec rake test
|