File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 99 name : 🚀 Publish
1010 runs-on : ubuntu-latest
1111 steps :
12+ - uses : pnpm/action-setup@v2
13+ with :
14+ version : 8
15+
1216 - name : 📚 Checkout
1317 uses : actions/checkout@v3
1418
1923 registry-url : https://registry.npmjs.org
2024
2125 - name : 🍳 Prepare
22- run : |
23- npm install
24- npm run build
26+ run : pnpm install
2527
2628 - name : 🚚 Publish
27- run : npm publish
29+ run : pnpm run publish
2830 env :
2931 NODE_AUTH_TOKEN : ${{secrets.NPM_AUTH_TOKEN}}
Original file line number Diff line number Diff line change 44 "private" : true ,
55 "license" : " MIT" ,
66 "scripts" : {
7- "lint" : " turbo lint && prettier ./ --check --ignore-path=.prettierignore" ,
87 "dev" : " turbo dev" ,
9- "build" : " pnpm lint && turbo build"
8+ "lint" : " turbo lint && prettier ./ --check --ignore-path=.prettierignore" ,
9+ "build" : " turbo lint && turbo build" ,
10+ "publish" : " turbo lint && turbo build && turbo publish"
1011 },
1112 "devDependencies" : {
1213 "prettier" : " ^3.0.3" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " commandkit" ,
33 "version" : " 0.0.10" ,
4- "private" : true ,
54 "license" : " MIT" ,
65 "main" : " ./dist/index.js" ,
76 "module" : " ./dist/index.mjs" ,
1615 "scripts" : {
1716 "lint" : " tsc" ,
1817 "dev" : " tsup --watch" ,
19- "build" : " tsup"
18+ "build" : " tsup" ,
19+ "publish" : " npm publish"
2020 },
2121 "repository" : {
2222 "type" : " git" ,
Original file line number Diff line number Diff line change 33 "pipeline" : {
44 "lint" : {},
55 "build" : {},
6+ "publish" : {},
67 "dev" : {
78 "cache" : false ,
89 "persistent" : true
You can’t perform that action at this time.
0 commit comments