Skip to content

Commit cf8152e

Browse files
obiotclaude
andcommitted
Add spine-plugin to publish workflow and npm scripts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e386a5f commit cf8152e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- melonjs
1212
- debug-plugin
1313
- tiled-inflate-plugin
14+
- spine-plugin
1415
- create-melonjs
1516
dry-run:
1617
description: "Dry run (skip actual publish)"
@@ -61,6 +62,9 @@ jobs:
6162
elif [ "${{ inputs.package }}" = "tiled-inflate-plugin" ]; then
6263
echo "dir=packages/tiled-inflate-plugin" >> "$GITHUB_OUTPUT"
6364
echo "build_cmd=pnpm clean && pnpm build" >> "$GITHUB_OUTPUT"
65+
elif [ "${{ inputs.package }}" = "spine-plugin" ]; then
66+
echo "dir=packages/spine-plugin" >> "$GITHUB_OUTPUT"
67+
echo "build_cmd=pnpm clean && pnpm build" >> "$GITHUB_OUTPUT"
6468
elif [ "${{ inputs.package }}" = "create-melonjs" ]; then
6569
echo "dir=packages/create-melonjs" >> "$GITHUB_OUTPUT"
6670
echo "build_cmd=echo 'No build step needed'" >> "$GITHUB_OUTPUT"

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"publish-debug-plugin": "gh workflow run publish.yml -f package=debug-plugin",
1717
"publish-debug-plugin:dry": "gh workflow run publish.yml -f package=debug-plugin -f dry-run=true",
1818
"publish-tiled-inflate-plugin": "gh workflow run publish.yml -f package=tiled-inflate-plugin",
19-
"publish-tiled-inflate-plugin:dry": "gh workflow run publish.yml -f package=tiled-inflate-plugin -f dry-run=true"
19+
"publish-tiled-inflate-plugin:dry": "gh workflow run publish.yml -f package=tiled-inflate-plugin -f dry-run=true",
20+
"publish-spine-plugin": "gh workflow run publish.yml -f package=spine-plugin",
21+
"publish-spine-plugin:dry": "gh workflow run publish.yml -f package=spine-plugin -f dry-run=true"
2022
},
2123
"packageManager": "pnpm@10.32.1",
2224
"dependencies": {

0 commit comments

Comments
 (0)