Skip to content

Commit 8d48faf

Browse files
Add back the build steps for composer autoload
1 parent fe3b7ba commit 8d48faf

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/build-release-zip.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
if: steps.cache-node-modules.outputs.cache-hit != 'true'
3636
run: npm ci --no-optional
3737

38+
- name: Install Composer dependencies and dump autoload
39+
run: |
40+
composer install --no-dev --optimize-autoloader
41+
composer dump-autoload
42+
3843
- name: Build plugin
3944
run: |
4045
npm run build

.github/workflows/wordpress-plugin-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
node-version-file: '.nvmrc'
2121
cache: 'npm'
2222

23+
- name: Install Composer dependencies and dump autoload
24+
run: |
25+
composer install --no-dev --optimize-autoloader
26+
composer dump-autoload
27+
2328
- name: Build
2429
run: |
2530
npm ci --no-optional

0 commit comments

Comments
 (0)