Skip to content

Commit

Permalink
Let bundler only use the lint and release groups when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Oct 25, 2023
1 parent d435cb5 commit 9a90dcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ executors:
SOLIDUS_RAISE_DEPRECATIONS: true
CIRCLE_TEST_REPORTS: /tmp/test-results
CIRCLE_ARTIFACTS: /tmp/test-artifacts
BUNDLE_WITHOUT: "utils"
BUNDLE_WITHOUT: "lint,release"
docker:
- image: &image cimg/ruby:<< parameters.ruby >>-browsers

Expand Down Expand Up @@ -230,6 +230,8 @@ jobs:
lint_code:
docker:
- image: cimg/ruby:3.2-node
environment:
BUNDLE_ONLY: "lint"
steps:
- checkout
- run: 'bundle install'
Expand All @@ -241,7 +243,7 @@ jobs:
name: Check ERB
command: |
# we're only interested in errors
bundle exec erb-format **/*.html.erb > dev/null
bundle exec erb-format **/*.html.erb > /dev/null
- run:
name: Check JavaScript
command: |
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ group :admin do
gem 'axe-core-capybara', '~> 4.7', require: false
end

group :utils do
group :lint do
gem 'erb-formatter', require: false
gem 'pry'
gem 'launchy', require: false
Expand Down

0 comments on commit 9a90dcd

Please sign in to comment.