Skip to content

Commit 31501f8

Browse files
committed
Small fixes for the artifact not to include dev dependencies.
1 parent 973b45a commit 31501f8

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/plugin-artifact-for-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
PLUGIN_SLUG: ${{ steps.plugin.outputs.slug }}
3131
with:
3232
slug: ${{ env.PLUGIN_SLUG }}
33+
composer-options: '--no-progress --optimize-autoloader --no-dev'
3334

3435
- name: Comment with artifact link
3536
uses: actions/github-script@v7

plugins/hwp-previews/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# HWP Previews
22

3-
## 0.0.1
3+
## 0.0.1-beta
44

55
- Proof of concept.

plugins/hwp-previews/composer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
"keywords": [
1515
"package",
1616
"dependency",
17-
"autoload"
17+
"autoload",
18+
"headless",
19+
"wordpress",
20+
"plugin",
21+
"previews"
1822
],
1923
"require": {
2024
"php": "^7.4 || ^8.0"
@@ -95,7 +99,8 @@
9599
"artifacts",
96100
"package.json",
97101
"package-lock.json",
98-
"node_modules/"
102+
"node_modules/",
103+
"/TESTING.md"
99104
]
100105
},
101106
"autoload": {

0 commit comments

Comments
 (0)