Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
php-version: '8.2'
coverage: none
- run: composer install --no-interaction --prefer-dist
- run: composer install --no-dev --optimize-autoloader --classmap-authoritative --no-interaction
- run: composer dist
- uses: actions/setup-node@v7
with:
node-version: 22
Expand Down
2 changes: 1 addition & 1 deletion bin/build-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ VERSION=$(grep -oE 'Version:[[:space:]]+[0-9.]+' "$SLUG.php" | awk '{print $2}')

if [ "${1:-}" != "--skip-install" ]; then
composer install --no-interaction --prefer-dist --no-progress
composer install --no-dev --optimize-autoloader --classmap-authoritative --no-interaction --no-progress
composer dist --no-progress
npm ci --no-audit --no-fund
npm run build
git diff --exit-code --stat -- build || { echo "build/ is out of date: run npm run build and commit it" >&2; exit 1; }
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"scripts": {
"test": "phpunit",
"test:integration": "phpunit -c phpunit-integration.xml.dist",
"build": "composer install --no-dev --optimize-autoloader --classmap-authoritative"
"dist": "composer install --no-dev --optimize-autoloader --classmap-authoritative --no-interaction"
},
"require-dev": {
"brain/monkey": "^2.6",
Expand Down
Loading