Skip to content

Bump stylelint from 16.10.0 to 16.11.0 (#1490) #2377

Bump stylelint from 16.10.0 to 16.11.0 (#1490)

Bump stylelint from 16.10.0 to 16.11.0 (#1490) #2377

Workflow file for this run

name: CI
# TODO: Don't do this! Use GitHub's encrypted secrets and set the value of the
# variable as ${{ secrets.RAILS_MASTER_KEY }}
# Ref: https://docs.github.com/en/actions/reference/encrypted-secrets
env:
RAILS_MASTER_KEY: 02a9ea770b4985659e8ce92699f218dc
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
name: Ruby specs
runs-on: ubuntu-latest
env:
DATABASE_URL: postgres://postgres:postgres@localhost/ruby3_rails6_bootstrap_heroku_test
RAILS_ENV: test
services:
db:
image: postgres:12
ports: ['5432:5432']
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.7'
bundler-cache: true
rubygems: latest
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Yarn
run: yarn
- name: Set up Database
run: bundle exec rails db:prepare
- name: Run specs
run: bundle exec rake spec
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: 'coverage/lcov.info'