We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 172b629 commit a8082b1Copy full SHA for a8082b1
.github/workflows/create-package.yml
@@ -19,7 +19,11 @@ jobs:
19
path: /tmp/composer-cache
20
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
21
22
- - uses: php-actions/composer@v6
+ - name: Install Composer dependencies
23
+ uses: php-actions/composer@v6
24
+ with:
25
+ args: --no-dev --optimize-autoloader
26
+
27
- name: Setup Node.js
28
uses: actions/setup-node@v3
29
with:
@@ -31,6 +35,9 @@ jobs:
31
35
- name: Build assets with wp-scripts
32
36
run: npm run build
33
37
38
+ - name: Remove dev dependencies
39
+ run: composer install --no-dev --optimize-autoloader
40
34
41
- name: Exclude files listed in .distignore
42
run: |
43
if [ -f .distignore ]; then
0 commit comments