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