Skip to content

Commit

Permalink
Merge pull request #245 from vektor-inc/fix/phpunit-action
Browse files Browse the repository at this point in the history
GitHub Actions の PHPUnit がコケるので wp-env のバージョンアップ
  • Loading branch information
kurudrive authored Sep 2, 2024
2 parents 9ba13cd + f94b5b6 commit 68eebd7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 11 deletions.
34 changes: 26 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"dist": "composer install --no-dev && gulp dist && composer install",
"zip": "npm run dist && cd dist && zip -r bill-vektor.zip bill-vektor && cd ../",
"sass": "sass --watch assets/_scss:assets/css",
"phpunit": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/themes/bill-vektor/.phpunit.xml --verbose'"
"phpunit": "composer install && wp-env run tests-cli --env-cwd='wp-content/themes/bill-vektor' vendor/bin/phpunit -c .phpunit.xml"
},
"dependencies": {
"@wordpress/env": "^5.16.0",
"@wordpress/env": "10.4.0",
"gulp": "^4.0.2",
"npm-check-updates": "^16.10.8",
"run-sequence": "^2.2.1"
},
"volta": {
"node": "18.16.0"
"node": "20.14.0"
}
}

0 comments on commit 68eebd7

Please sign in to comment.