Update config.yml

This commit is contained in:
Geekix 2021-11-08 09:33:40 +01:00 committed by GitHub
parent e24a9aa89a
commit c06708dc91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,28 +5,19 @@ orbs:
node: circleci/node@2
jobs:
build:
docker:
- image: cimg/ruby:2.7-node
steps:
- checkout
- run : bundle install
test:
docker:
- image: cimg/ruby:2.7-node
environment:
BUNDLE_RETRY: "3"
RAILS_ENV: test
steps:
- checkout
- run :
name: prerequisites
command :bundle install
- run:
name: test
command: bundle exec rake validate lint
workflows:
version: 2
build_and_test:
test:
jobs:
- build
- test:
requires:
- build
- test