Skip to content

Commit 94740a6

Browse files
authored
use bun instead of node for faster test run time while maintaining compatibility
1 parent 7da551f commit 94740a6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/run-tests.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ jobs:
1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
20-
21-
- name: Setup Node
22-
uses: actions/setup-node@v4
20+
21+
- uses: oven-sh/setup-bun@v1
2322
with:
24-
node-version: '20'
23+
bun-version: latest
2524

2625
- name: Setup PHP
2726
uses: shivammathur/setup-php@v2
@@ -36,8 +35,9 @@ jobs:
3635
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3736
- name: Install dependencies
3837
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
39-
38+
39+
- name: Install dependencies
40+
run: bun install
41+
4042
- name: Execute tests
41-
run: |
42-
npm install
43-
vendor/bin/phpunit
43+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)