Skip to content

Commit cf2cded

Browse files
authored
test: include frontend build (#492)
1 parent c3ab37e commit cf2cded

2 files changed

Lines changed: 17 additions & 12 deletions

File tree

.github/workflows/tests.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
ports:
2626
- 3306/tcp
2727
options: >-
28-
--health-cmd "mysqladmin ping"
29-
--health-interval 10s
30-
--health-timeout 5s
31-
--health-retries 3
28+
--health-cmd "mysqladmin ping"
29+
--health-interval 10s
30+
--health-timeout 5s
31+
--health-retries 3
3232
3333
steps:
3434
- name: Checkout
@@ -70,6 +70,18 @@ jobs:
7070
- name: Install composer dependencies
7171
run: composer install --prefer-dist --no-interaction
7272

73+
- name: Setup Node
74+
uses: actions/setup-node@v6
75+
with:
76+
node-version-file: ".nvmrc"
77+
cache: "npm"
78+
79+
- name: Install Node.js dependencies
80+
run: npm ci --no-audit --ignore-scripts
81+
82+
- name: Build assets
83+
run: npm run build
84+
7385
- name: Setup env
7486
run: |
7587
cp .env.ci .env

tests/TestCase.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,5 @@
88

99
abstract class TestCase extends BaseTestCase
1010
{
11-
use CreatesApplication;
12-
13-
protected function setUp(): void
14-
{
15-
parent::setUp();
16-
17-
$this->withoutVite();
18-
}
11+
//
1912
}

0 commit comments

Comments
 (0)