Skip to content

Commit

Permalink
fix: build frontend for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Aug 1, 2024
1 parent dd43457 commit be1bf6c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/actions/setup-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ inputs:
seed-database:
description: Whether to seed the database or not
default: 'false'

runs:
using: composite
steps:
Expand Down Expand Up @@ -42,4 +43,10 @@ runs:
if: inputs.seed-database == 'true'
run: php artisan db:seed
shell: bash
working-directory: ./${{ inputs.path }}
working-directory: ./${{ inputs.path }}

- name: Build frontend assets
if: inputs.setup-node == 'true'
run: npm run build
shell: bash
working-directory: ./${{ inputs.path }}

0 comments on commit be1bf6c

Please sign in to comment.