version: v1.0 name: neetoCi global_job_config: setup: - checkout - neetoci-version ruby 3.2.2 - neetoci-version node 18.12 - neetoci-service start postgres 13 - cp test/dummy/config/database.yml.ci test/dummy/config/database.yml - bundle config set --local without 'development' - cache restore - bundle install --jobs 1 - yarn install - cache store - bundle exec rake db:create db:schema:load --trace jobs: - name: CiChecks commands: - bundle exec neeto-audit - bundle exec rubocop # For eslint not to read common_files configuration - mv "lib/neeto_commons_backend/common_files/.eslintrc.js" "lib/neeto_commons_backend/common_files/eslintrc.js" - mv "lib/neeto_commons_backend/common_files/.prettierrc.js" "lib/neeto_commons_backend/common_files/prettierrc.js" - mv "lib/neeto_commons_backend/common_files/cypress-tests/.eslintrc.js" "lib/neeto_commons_backend/common_files/cypress-tests/eslintrc.js" - lib/neeto_commons_backend/common_files/.semaphore/commands/run_eslint_on_modified_files.sh - bundle exec rails test