Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
ruby-version: .ruby-version
bundler-cache: true

- name: Compile CMS Engine assets
run: bundle exec rails comfy:compile_assets
env:
RAILS_ENV: test

Comment on lines +49 to +53
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required to install and build the CMS Engine's javascript and CSS. The new Gem doesn't include the vendor javascript libraries and bundles.

- name: Read Node version from .tool-versions
id: node_version
run: |
Expand All @@ -69,6 +74,11 @@ jobs:
- name: Install Node modules
run: yarn install

- name: Test - precompile Rails assets
run: bundle exec rails assets:precompile
env:
RAILS_ENV: test

Comment on lines +77 to +81
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a test to see if assets:precompile works.

- name: Run tests
env:
RAILS_ENV: test
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby ">= 3.1.4", "< 3.5"

gem "rails", "~> 7.2.2"
gem "rails", "~> 8.1.1"

gem "mysql2", "~> 0.5.6"
# Use Puma as the app server
Expand Down Expand Up @@ -33,7 +33,7 @@ gem "jbuilder", "~> 2.14"
# Use ActiveStorage variant
gem "image_processing", "~> 1.14"

gem "comfortable_mexican_sofa", github: "restarone/comfortable-mexican-sofa", tag: "3.5"
gem "comfortable_media_surfer", "~> 3.1.0"

gem "htmlentities"
# Reduces boot times through caching; required in config/boot.rb
Expand Down
Loading
Loading