diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cec2d84..0efcf28 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,9 @@ jobs: run: npm i - name: Build + run: npm run build + + - name: Create zip run: npm run plugin-zip - name: Archive production artifact diff --git a/package.json b/package.json index 1d12c1d..beee2ec 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "author": "Mitsui ", "license": "MIT", "main": "build/index.js", + "files": [ "nonogram.php", "build/*" ], "scripts": { "start": "run-p start:wp-env start:wp-scripts", "build": "wp-scripts build",