File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,13 @@ jobs:
164164 with :
165165 run_install : false
166166
167+ - uses : actions/setup-node@v4
168+ with :
169+ node-version : 22
170+ registry-url : ' https://npm.pkg.github.com'
171+ scope : ${{ github.repository_owner }}
172+ cache : ' pnpm'
173+
167174 - name : Set api package version
168175 run : |
169176 PACKAGE_VERSION=$(jq -r '.version' packages/api/package.json)
@@ -174,6 +181,8 @@ jobs:
174181 sed -i "s#version\":\ \"\(.*\)\",#version\":\ \"${TAG_PATTERN}\",#g" packages/api/package.json
175182
176183 - name : publish api package
177- run : pnpm publish
184+ run : |
185+ cd packages/api
186+ pnpm publish --no-git-checks
178187 env :
179188 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 44 "description" : " API for Kubernetes Dashboard extension" ,
55 "repository" : " https://github.com/podman-desktop/extension-kubernetes-dashboard" ,
66 "publishConfig" : {
7+ "registry" : " https://npm.pkg.github.com" ,
78 "provenance" : true ,
89 "access" : " public"
910 },
1617 "prepare" : " " ,
1718 "clean" : " rimraf lib *.tsbuildinfo" ,
1819 "build" : " " ,
19- "watch" : " " ,
20- "publish:next" : " pnpm publish --registry=https://registry.npmjs.org/ --no-git-tag-version --new-version 0.0.1-\" $(date +%s)\" "
20+ "watch" : " "
2121 },
2222 "dependencies" : {}
2323}
You can’t perform that action at this time.
0 commit comments