Skip to content

Commit

Permalink
Build frontend assets in test flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher David committed Nov 26, 2023
1 parent 457f257 commit 40dd58a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ jobs:
run: chmod -R 777 storage bootstrap/cache
- name: Install pgvector extension
run: PGPASSWORD=password psql -h localhost -U root -d laravel_test -c "CREATE EXTENSION IF NOT EXISTS vector;"
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install Front-End Dependencies with npm ci
run: npm ci
- name: Build Front-End Assets
run: npm run build
- name: Remove node_modules
run: rm -rf node_modules
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: pgsql
Expand Down

0 comments on commit 40dd58a

Please sign in to comment.