sass-site/.github/workflows/ci.yml
2021-10-04 19:53:08 -07:00

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