Skip to content

Milestone A: modernize GitHub Actions (checkout v4, ruby/setup-ruby) #25

Milestone A: modernize GitHub Actions (checkout v4, ruby/setup-ruby)

Milestone A: modernize GitHub Actions (checkout v4, ruby/setup-ruby) #25

Workflow file for this run

name: CI
on: [push]
jobs:
static_analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: workarea-commerce/ci/bundler-audit@v1
- uses: workarea-commerce/ci/rubocop@v1
- uses: workarea-commerce/ci/eslint@v1
with:
args: '**/*.js'
- uses: workarea-commerce/ci/stylelint@v1
with:
args: '**/*.scss'
admin_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
bundler-cache: true
- uses: workarea-commerce/ci/test@v1
with:
command: bin/rails app:workarea:test:admin
core_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
bundler-cache: true
- uses: workarea-commerce/ci/test@v1
with:
command: bin/rails app:workarea:test:core
storefront_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
bundler-cache: true
- uses: workarea-commerce/ci/test@v1
with:
command: bin/rails app:workarea:test:storefront
plugins_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
bundler-cache: true
- uses: workarea-commerce/ci/test@v1
with:
command: bin/rails app:workarea:test:plugins