chore: bump picocolors from 1.1.0 to 1.1.1 #3084
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: | |
specs: | |
name: specs | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:10.12 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
REDIS_URL: redis://localhost:6379/0 | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- name: Install Libraries | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y postgresql-client libpq-dev | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v4 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: yarn install | |
run: yarn install | |
- name: Build Esbuild | |
run: yarn build | |
- name: Build CSS | |
run: yarn build:css | |
- name: Run rubocop checks | |
run: bundle exec rubocop -D | |
- name: Run tests | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
REDIS_URL: redis://localhost:6379/0 | |
run: | | |
cp config/database.yml.github-actions config/database.yml | |
pg_config --version | |
bin/rails db:create RAILS_ENV=test | |
bin/rails db:migrate RAILS_ENV=test | |
bundle exec rspec |