Skip to content

Blog post announcing Elo 0.9.x. #153

Blog post announcing Elo 0.9.x.

Blog post announcing Elo 0.9.x. #153

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16-alpine
env:
POSTGRES_USER: elo
POSTGRES_PASSWORD: elo
POSTGRES_DB: elo
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: false
- name: Install Ruby dependencies
run: gem install activesupport
- name: Install Node.js dependencies
run: npm install
- name: Build project
run: npm run build
- name: Run all tests
run: npm test
env:
PGHOST: localhost
PGPORT: 5432
PGUSER: elo
PGPASSWORD: elo
PGDATABASE: elo