File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ name: Publish Package to npmjs
22on :
33 release :
44 types : [published]
5- workflow_call :
6- secrets :
7- NPM_TOKEN :
8- required : true
95
106jobs :
117 build :
@@ -20,18 +16,15 @@ jobs:
2016 submodules : true
2117 - name : install corepack
2218 uses : pnpm/action-setup@v4
19+ - uses : jwlawson/actions-setup-cmake@v2
20+ with :
21+ cmake-version : ' 3.30.x'
2322 - uses : actions/setup-node@v6
2423 with :
2524 node-version : 24
2625 registry-url : ' https://registry.npmjs.org'
2726 cache : pnpm
2827 - run : pnpm install
29- - run : npm run pub
30- - name : Deploy Docs
31- uses : peaceiris/actions-gh-pages@v4
32- with :
33- github_token : ${{ secrets.GITHUB_TOKEN }}
34- publish_dir : docs
35- publish_branch : gh-pages
28+ - run : npm run ci
3629 - run : npm pkg delete devDependencies scripts packageManager pnpm
3730 - run : npm publish --access public --provenance
Original file line number Diff line number Diff line change 6262 "publishConfig" : {
6363 "tag" : " 1.x"
6464 },
65+ "packageManager" : " pnpm@10.30.3" ,
6566 "engines" : {
6667 "node" : " >=14"
6768 }
You can’t perform that action at this time.
0 commit comments