File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed
Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to npm
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - uses : actions/setup-node@v4
15+ with :
16+ node-version : 20
17+ registry-url : ' https://registry.npmjs.org'
18+ cache : npm
19+
20+ - run : npm ci
21+
22+ - run : npm run build:lib
23+
24+ - run : npm publish --access public
25+ env :
26+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ taskbar_screenshot*
1212tmp /
1313* .png
1414* .yml
15+ ! .github /** /* .yml
Original file line number Diff line number Diff line change 11{
22 "name" : " @caoergou/windows-xp" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 0.1 .0" ,
44 "description" : " A faithful recreation of Windows XP desktop in React - Relive the millennium era with authentic Y2K aesthetics" ,
55 "main" : " dist/windows-xp.umd.js" ,
66 "module" : " dist/windows-xp.es.js" ,
You can’t perform that action at this time.
0 commit comments