Skip to content

Commit

Permalink
correct vite method
Browse files Browse the repository at this point in the history
  • Loading branch information
loftwah committed Aug 21, 2024
1 parent a181495 commit 95735c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
run: |
gem install bundler
bundle install
npm install # Install Vite and other npm dependencies
npm install # Install npm dependencies
- name: Build assets
run: npm run build # This compiles your Vite assets
- name: Build Vite assets
run: bundle exec rake vite:build # Use the correct Rake task to build Vite assets

- name: Set up database
run: |
bundle exec rails db:create
bundle exec rails db:schema:load
bundle exec rails db:seed # Ensure the database is seeded
bundle exec rails db:seed # Seed the database if necessary
env:
RAILS_ENV: test

Expand Down

0 comments on commit 95735c2

Please sign in to comment.