.github/workflows/ci.yml in workarea-gift_cards-3.4.11 vs .github/workflows/ci.yml in workarea-gift_cards-4.0.0.beta.1
- old
+ new
@@ -1,55 +1,57 @@
name: CI
on: [push]
-env:
- BUNDLE_GEMS__WEBLINC__COM: ${{ secrets.BUNDLE_GEMS__WEBLINC__COM }}
+
jobs:
static_analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- - uses: workarea-commerce/ci/bundler-audit@ruby-2.4
- - uses: workarea-commerce/ci/rubocop@ruby-2.4
+ - 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.4.x
+ 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.4.x
+ 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.4.x
+ 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.4.x
+ ruby-version: 2.6.x
- uses: workarea-commerce/ci/test@v1
with:
command: bin/rails app:workarea:test:plugins