Skip to content

Commit c5aa8ef

Browse files
authored
chore: disable npm publishing (#8)
* 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. * fix: prettier formatting for package.json * fix: remove validate job referencing missing scripts * fix: remove trailing newline in quality.yaml
1 parent 19fabe7 commit c5aa8ef

4 files changed

Lines changed: 3 additions & 80 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.

.github/workflows/quality.yaml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: Quality & Validation
22

3-
# Runs comprehensive quality checks on all PRs:
3+
# Runs quality checks on all PRs:
44
# - Prettier (formatting)
55
# - ESLint (linting)
66
# - markdownlint (markdown quality)
7-
# - Schema validation (YAML structure)
8-
# - Agent schema tests (fixture-based validation)
9-
# - Installation component tests (compilation)
10-
# - Bundle validation (web bundle integrity)
117

128
"on":
139
pull_request:
@@ -65,26 +61,3 @@ jobs:
6561

6662
- name: markdownlint
6763
run: npm run lint:md
68-
69-
validate:
70-
runs-on: ubuntu-latest
71-
steps:
72-
- name: Checkout
73-
uses: actions/checkout@v4
74-
75-
- name: Setup Node
76-
uses: actions/setup-node@v4
77-
with:
78-
node-version-file: ".nvmrc"
79-
80-
- name: Install dependencies
81-
run: npm install
82-
83-
- name: Validate YAML schemas
84-
run: npm run validate:schemas
85-
86-
- name: Run agent schema validation tests
87-
run: npm run test:schemas
88-
89-
- name: Test agent compilation components
90-
run: npm run test:install

package.json

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

0 commit comments

Comments
 (0)