Bump postcss from 7.0.39 to 8.4.38 #314
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: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
erb_javascript_rails: | |
runs-on: ubuntu-latest | |
name: "ES Check, ERBLint, ESLint, and RSpec" | |
env: | |
RAILS_ENV: test | |
services: | |
postgres: | |
image: postgres:14.8-alpine | |
env: | |
POSTGRES_USER: sm | |
POSTGRES_PASSWORD: sm_password | |
# Set health checks to wait until postgres has started | |
ports: | |
- 5432:5432 | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.18.x' | |
cache: 'yarn' | |
- name: Install JS dependencies | |
run: yarn install --frozen-lockfile | |
- name: Precomple Rails assets | |
run: bundle exec rails assets:precompile | |
- name: Run ES Check | |
run: yarn es-check | |
- name: Run ERBLint | |
run: yarn lint-erb | |
- name: Run ESLint | |
run: yarn lint | |
- name: Setup DB and run RSpec | |
run: |- | |
bundle exec rails db:create | |
bundle exec rake db:schema:load --trace | |
bundle exec rails db:migrate | |
bundle exec rails db:seed | |
bundle exec rspec | |
ruby_linting: | |
runs-on: ubuntu-latest | |
name: Ruby Linting | |
env: | |
BUNDLE_ONLY: linting | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- run: bundle exec rubocop --format progress --format github |