Skip to content

Make nonprofits bank_accounts views translatable #2528

Make nonprofits bank_accounts views translatable

Make nonprofits bank_accounts views translatable #2528

Workflow file for this run

# License: LGPL-3.0-or-later
name: Ruby test and build
on:
pull_request:
paths-ignore:
- "**.[jt]sx?"
- "**.md"
- "**.md"
- "NOTICE-js"
- "NOTICE-ruby"
- "package.json"
- "yarn.lock"
types: [opened, reopened, synchronize]
jobs:
package-download: # this downloads and caches all of the packages. That way if a future job fails, the caching will still occur
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
node: [14.19.1]
ruby: [2.7.6]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- run: yarn install --frozen-lockfile
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
main_build:
needs: package-download
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
node: [14.19.1]
ruby: [2.7.6]
steps:
- uses: actions/checkout@v3
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user
uses: Daniel-Marynicz/postgresql-action@1.0.0
with:
postgres_image_tag: 12-alpine
postgres_user: houdini_user
postgres_password: password
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- run: yarn install --frozen-lockfile
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: install bess dependencies
run: |
cd gems/bess
bundle install --jobs 3 --retry 3
- name: run spec for bess
run: |
cd gems/bess
bundle exec rake spec
- run: bin/setup ci
- name: Generate JS routes
run: bin/rails js:routes:typescript
- name: run spec
run: bundle exec rake spec