Skip to content

Commit 2188754

Browse files
committed
Update Release workflow to fix npm token changes
1 parent dbb1a5f commit 2188754

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818
jobs:
1919
release:
2020
runs-on: macos-latest
21-
21+
2222
steps:
2323
- name: Checkout code
2424
uses: actions/checkout@v4
@@ -31,6 +31,10 @@ jobs:
3131
node-version: '24'
3232
registry-url: 'https://registry.npmjs.org'
3333

34+
# Ensure npm 11.5.1 or later is installed
35+
- name: Update npm
36+
run: npm install -g npm@latest
37+
3438
- name: Clear npm cache and install dependencies
3539
run: |
3640
npm cache clean --force
@@ -98,8 +102,6 @@ jobs:
98102
fi
99103
echo "📦 Publishing to NPM with tag: $NPM_TAG"
100104
npm publish --access public --tag "$NPM_TAG"
101-
env:
102-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
103105
104106
- name: Create GitHub Release (production releases only)
105107
if: github.event_name == 'push'
@@ -109,27 +111,18 @@ jobs:
109111
name: Release v${{ steps.get_version.outputs.VERSION }}
110112
body: |
111113
## Release v${{ steps.get_version.outputs.VERSION }}
112-
113-
### Features
114-
- Bundled AXe binary and frameworks for zero-setup UI automation
115-
- No manual installation required - works out of the box
116-
114+
117115
### Installation
118116
```bash
119117
npm install -g xcodebuildmcp@${{ steps.get_version.outputs.VERSION }}
120118
```
121-
119+
122120
Or use with npx:
123121
```bash
124122
npx xcodebuildmcp@${{ steps.get_version.outputs.VERSION }}
125123
```
126-
124+
127125
📦 **NPM Package**: https://www.npmjs.com/package/xcodebuildmcp/v/${{ steps.get_version.outputs.VERSION }}
128-
129-
### What's Included
130-
- Latest AXe binary from [cameroncooke/axe](https://github.com/cameroncooke/axe)
131-
- All required frameworks (FBControlCore, FBDeviceControl, FBSimulatorControl, XCTestBootstrap)
132-
- Full XcodeBuildMCP functionality with UI automation support
133126
files: |
134127
xcodebuildmcp-${{ steps.get_version.outputs.VERSION }}.tgz
135128
draft: false

0 commit comments

Comments
 (0)