mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-12 04:31:11 +00:00
Prevent vite_ruby
to run yarn, always
This commit is contained in:
parent
1362a71d8c
commit
b7d46a0c2c
2
.github/workflows/test-ruby.yml
vendored
2
.github/workflows/test-ruby.yml
vendored
|
@ -58,8 +58,6 @@ jobs:
|
|||
${{ matrix.mode }}-assets
|
||||
|
||||
- name: Precompile assets
|
||||
env:
|
||||
VITE_RUBY_SKIP_ASSETS_PRECOMPILE_INSTALL: true
|
||||
run: |-
|
||||
bin/rails assets:precompile
|
||||
|
||||
|
|
|
@ -308,7 +308,6 @@ RUN \
|
|||
# Use Ruby on Rails to create Mastodon assets
|
||||
SECRET_KEY_BASE_DUMMY=1 \
|
||||
# Do not run `yarn` when precompiling assets, we already ran it before
|
||||
VITE_RUBY_SKIP_ASSETS_PRECOMPILE_INSTALL=true \
|
||||
bundle exec rails assets:precompile; \
|
||||
# Cleanup temporary files
|
||||
rm -fr /opt/mastodon/tmp;
|
||||
|
|
|
@ -17,3 +17,6 @@ if Rake::Task.task_defined?('assets:precompile')
|
|||
Rake::Task['assets:generate_static_pages'].invoke
|
||||
end
|
||||
end
|
||||
|
||||
# We don't want vite_ruby to run yarn, we do that in a separate step
|
||||
Rake::Task['vite:install_dependencies'].clear
|
||||
|
|
Loading…
Reference in New Issue
Block a user