Bump sass from 1.64.0 to 1.69.3 #286
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:14 | |
env: | |
POSTGRES_USER: test | |
POSTGRES_PASSWORD: correcthorsebatterystaple | |
POSTGRES_DB: test | |
ports: | |
- 5432:5432 | |
# needed because the postgres container does not provide a healthcheck | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
env: | |
DATABASE_URL: postgres://test:correcthorsebatterystaple@localhost:5432/test | |
RAILS_ENV: test | |
RUBYOPT: --enable=frozen-string-literal | |
steps: | |
- uses: actions/checkout@master | |
# setup-ruby can infer the Ruby version | |
- name: Create .ruby-version based on Gemfile | |
run: grep -oP '^ruby .\K\d+\.\d+\.\d+' Gemfile > .ruby-version | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.yarn-cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Yarn Install | |
run: yarn install --cache-folder ~/.yarn-cache | |
- name: App Setup | |
run: bin/setup | |
- name: Build CSS | |
run: yarn build:css | |
- name: Standard | |
run: bundle exec rake standard | |
- name: Run Tests | |
run: bundle exec rspec --format progress --color |