Skip to content

Bump vite from 5.2.13 to 5.3.3 #412

Bump vite from 5.2.13 to 5.3.3

Bump vite from 5.2.13 to 5.3.3 #412

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- "*"
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: ${{ secrets.DB_USER }}
POSTGRES_PASSWORD: ${{ secrets.DB_PASS }}
POSTGRES_DB: boilerplate_test
ports: ["5432:5432"]
redis:
image: redis
ports: ["6379:6379"]
options: --entrypoint redis-server
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler: default
bundler-cache: true
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.13.1
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.1.4
run_install: true
- name: Install dependencies
run: |
sudo apt update && sudo apt-get install -y -qq libvips
pnpm install
- name: Rubocop Check
run: bundle exec rubocop
- name: Run tests
env:
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
DB_HOST: localhost
DB_NAME: boilerplate_test
DB_PORT: 5432
DB_USER: ${{ secrets.DB_USER }}
DB_PASS: ${{ secrets.DB_PASS }}
DB_URL:
RAILS_ENV: test
run: |
bin/rails db:test:prepare
bundle exec rspec