File tree Expand file tree Collapse file tree 2 files changed +50
-1
lines changed
Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to npm
2+
3+ on :
4+ release :
5+ types : [published]
6+ push :
7+ tags :
8+ - ' v*.*.*'
9+ workflow_dispatch :
10+
11+ jobs :
12+ publish :
13+ runs-on : ubuntu-latest
14+ permissions :
15+ contents : read
16+ id-token : write
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v4
20+
21+ - name : Use Node.js 18.x
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : 18
25+ registry-url : ' https://registry.npmjs.org/'
26+ cache : ' npm'
27+ always-auth : true
28+
29+ - name : Configure npm auth
30+ run : |
31+ echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
32+ env :
33+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
34+
35+ - name : Install dependencies
36+ run : npm ci
37+
38+ - name : Run checks
39+ run : |
40+ npm run typecheck
41+ npm run lint
42+ npm run format:check
43+ npm run test:run
44+ npm run build
45+
46+ - name : Publish
47+ run : npm publish --access public --provenance
48+ env :
49+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " mcp-design-system-extractor" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "description" : " Simplified MCP server for Storybook design system extraction with component analysis tools" ,
55 "author" : " graslt" ,
66 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments