File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Package to npmjs
2+ on :
3+ release :
4+ types : [published]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ permissions :
9+ contents : write
10+ id-token : write
11+ env :
12+ NODE_ENV : production
13+ steps :
14+ - uses : actions/checkout@v5
15+
16+ - uses : pnpm/action-setup@v4
17+
18+ - uses : actions/setup-node@v4
19+ with :
20+ node-version : " 24.x"
21+ registry-url : " https://registry.npmjs.org"
22+ cache : " pnpm"
23+
24+ - run : pnpm install --frozen-lockfile
25+
26+ - run : pnpm publish --no-git-checks
27+
28+ - name : Build and Zip Extension
29+ working-directory : extension
30+ run : |
31+ pnpm install --frozen-lockfile && cd dist/ && zip -r ext.zip .
32+ - name : Move Extension Zip to Root
33+ run : mv extension/dist/ext.zip ./chrome-inspector-mcp-${{ github.event.release.tag_name }}.zip
34+ - name : Upload extension to GitHub Release
35+ uses : softprops/action-gh-release@v2
36+ with :
37+ files : ./chrome-inspector-mcp-${{ github.event.release.tag_name }}.zip
You can’t perform that action at this time.
0 commit comments