Skip to content

Commit ff40b1f

Browse files
Update NodeJS setup to v4 and add Playwright browsers
1 parent da85719 commit ff40b1f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pest.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ jobs:
2727
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
2828
coverage: none
2929

30-
- name: Setup NodeJS
31-
uses: actions/setup-node@v3
30+
- uses: actions/setup-node@v4
3231
with:
33-
node-version: 14
32+
node-version: lts/*
3433

3534
- name: Install NodeJS dependencies
36-
run: |
37-
npm install
35+
run: npm ci
36+
37+
- name: Install Playwright Browsers
38+
run: npx playwright install --with-deps
3839

3940
- name: Install Composer dependencies
4041
run: composer install --no-interaction --prefer-dist --optimize-autoloader
@@ -51,4 +52,4 @@ jobs:
5152
run: php artisan migrate --force -v
5253

5354
- name: Tests (Shard ${{ matrix.shard }}/4)
54-
run: php artisan test --shard ${{ matrix.shard }}/4 -p
55+
run: php artisan test --shard ${{ matrix.shard }}/4 --ci -p

0 commit comments

Comments
 (0)