Skip to content

Commit d2110a1

Browse files
Modify phpunit.yml file
1 parent 5504d71 commit d2110a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/phpunit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
run: |
2626
mkdir -p database
2727
touch database/database.sqlite
28-
- name: Compile assets
29-
run: |
30-
npm install
31-
npm run dev
28+
- name: Build assets for production
29+
env:
30+
LARAVEL_BYPASS_ENV_CHECK: 1
31+
run: npm install && npm run production
3232
- name: Execute tests (Unit and Feature tests) via PHPUnit
3333
env:
3434
DB_CONNECTION: sqlite
3535
DB_DATABASE: database/database.sqlite
3636
CACHE_DRIVER: array
3737
SESSION_DRIVER: array
3838
QUEUE_DRIVER: sync
39-
run: vendor/bin/phpunit
39+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)