Skip to content

Commit 55770c3

Browse files
committed
chore: disable npm publishing
Module content is delivered via git clone in the bmm installer, not via npm packages. Remove publish.yaml workflow, npm publish step from manual-release.yaml, and mark package as private.
1 parent 19fabe7 commit 55770c3

3 files changed

Lines changed: 2 additions & 52 deletions

File tree

.github/workflows/manual-release.yaml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ on:
1717

1818
permissions:
1919
contents: write
20-
packages: write
2120

2221
jobs:
2322
release:
@@ -34,7 +33,6 @@ jobs:
3433
with:
3534
node-version-file: ".nvmrc"
3635
cache: npm
37-
registry-url: https://registry.npmjs.org
3836

3937
- name: Install dependencies
4038
run: npm ci
@@ -153,19 +151,6 @@ jobs:
153151
echo "📝 Version bump and tag were created successfully."
154152
fi
155153
156-
- name: Publish to NPM
157-
env:
158-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
159-
run: |
160-
VERSION="${{ steps.version.outputs.new_version }}"
161-
if [[ "$VERSION" == *"alpha"* ]] || [[ "$VERSION" == *"beta"* ]]; then
162-
echo "Publishing prerelease version with --tag alpha"
163-
npm publish --tag alpha
164-
else
165-
echo "Publishing stable version with --tag latest"
166-
npm publish --tag latest
167-
fi
168-
169154
- name: Create GitHub Release
170155
uses: softprops/action-gh-release@v2
171156
with:
@@ -181,10 +166,4 @@ jobs:
181166
echo "## 🎉 Successfully released v${{ steps.version.outputs.new_version }}!" >> $GITHUB_STEP_SUMMARY
182167
echo "" >> $GITHUB_STEP_SUMMARY
183168
echo "### 📦 Distribution" >> $GITHUB_STEP_SUMMARY
184-
echo "- **NPM**: Published with @latest tag" >> $GITHUB_STEP_SUMMARY
185-
echo "- **GitHub Release**: https://github.com/bmad-code-org/bmad-module-creative-intelligence-suite/releases/tag/v${{ steps.version.outputs.new_version }}" >> $GITHUB_STEP_SUMMARY
186-
echo "" >> $GITHUB_STEP_SUMMARY
187-
echo "### ✅ Installation" >> $GITHUB_STEP_SUMMARY
188-
echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
189-
echo "npx bmad-method@${{ steps.version.outputs.new_version }} install" >> $GITHUB_STEP_SUMMARY
190-
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
169+
echo "- **GitHub Release**: https://github.com/bmad-code-org/bmad-module-game-dev-studio/releases/tag/v${{ steps.version.outputs.new_version }}" >> $GITHUB_STEP_SUMMARY

.github/workflows/publish.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "bmad-game-dev-studio",
4+
"private": true,
45
"version": "0.2.2",
56
"description": "A BMad MEthod Core Module that offers a substantial stand alone module for Game Development across multiple supported platforms",
67
"keywords": [

0 commit comments

Comments
 (0)