Skip to content

automated commit

automated commit #48

Workflow file for this run

name: All Specs
on:
- push
- pull_request
- workflow_dispatch
jobs:
# TODO: Environment variables?
build:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |-
node_modules
vendor/bundle
key: '${{ runner.os }}-${{ hashFiles(''TODO'') }}'
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 13.14.0
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: gem install bundler:2.1.4
- run: npm install -g yarn@1.19
- run: bundle install
- run: yarn install
- run: bundle exec rake db:setup
- run: bundle exec rake db:test:prepare
- run: bundle exec rspec
- run: CUCUMBER_PUBLISH_QUIET=true bundle exec cucumber