Skip to content

Merge pull request #270 from stefanvermaas/dependabot/bundler/rubocop… #602

Merge pull request #270 from stefanvermaas/dependabot/bundler/rubocop…

Merge pull request #270 from stefanvermaas/dependabot/bundler/rubocop… #602

Workflow file for this run

name: Verify
on: [push]
jobs:
linters:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run linters
run: |
bin/rubocop --parallel
builds:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: "yarn"
- name: Install packages
run: |
yarn install --pure-lockfile
sudo apt-get -yqq install libpq-dev
- name: Test building process
env:
BRIDGETOWN_ENV: production
run: |
bin/bridgetown deploy