Skip to content

Commit db2c8d3

Browse files
committed
fix tests
1 parent c21c65d commit db2c8d3

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020

21+
- name: Setup Node
22+
uses: actions/setup-node@v2
23+
with:
24+
node-version: '20'
25+
2126
- name: Setup PHP
2227
uses: shivammathur/setup-php@v2
2328
with:
@@ -33,4 +38,6 @@ jobs:
3338
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
3439

3540
- name: Execute tests
36-
run: vendor/bin/phpunit
41+
run: |
42+
npm install
43+
vendor/bin/pest

package-lock.json

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"dependencies": {
3+
"pixelmatch": "^5.3.0",
4+
"pngjs": "^7.0.0"
5+
}
6+
}

0 commit comments

Comments
 (0)