Skip to content

Commit

Permalink
feat: precompile assets
Browse files Browse the repository at this point in the history
Maybe this will reduce memory consumption?
  • Loading branch information
elasticspoon committed May 26, 2024
1 parent 445e9e4 commit a71fb8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
run: docker-compose exec -T web bundle exec rails css:build
- name: compile js
run: docker-compose exec -T web bundle exec rails javascript:build
- name: compile assets
run: docker-compose exec -T web bundle exec rails assets:precompile
- name: Test
run: docker-compose exec -T web bundle exec rspec spec --format documentation

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
bundle exec rake db:schema:load
bundle exec rails css:build
bundle exec rails javascript:build
bundle exec rails assets:precompile
- name: Run rspec and upload code coverage
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rspec_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
run: |
bundle exec rails css:build
bundle exec rails javascript:build
bundle exec rails assets:precompile
- name: Run rspec group ${{ inputs.group }}
env:
Expand Down

0 comments on commit a71fb8b

Please sign in to comment.