NPM publish using Node container #4

Merged
Thilawyn merged 19 commits from npm-publish-fix into master 2023-12-29 04:27:34 +01:00
2 changed files with 4 additions and 6 deletions
Showing only changes of commit e01a909ee4 - Show all commits

View File

@@ -30,7 +30,7 @@ local build_step = {
// image: "plugins/npm", // image: "plugins/npm",
// settings: { // settings: {
// registry: "https://git.jvalver.de/api/packages/jvalverde/npm", // registry: "https://git.jvalver.de/api/packages/thilawyn/npm",
// token: { from_secret: "npm_token" }, // token: { from_secret: "npm_token" },
// }, // },
// }; // };
@@ -44,10 +44,8 @@ local publish_step = {
}, },
commands: [ commands: [
"npm --version", "npm set registry https://git.jvalver.de/api/packages/thilawyn/npm/",
"npm set registry https://git.jvalver.de/api/packages/jvalverde/npm/", "npm config set -- //git.jvalver.de/api/packages/thilawyn/npm/:_authToken $NPM_TOKEN",
"npm config set -- //git.jvalver.de/api/packages/jvalverde/npm/:_authToken $NPM_TOKEN",
// "npm whoami",
"npm publish", "npm publish",
], ],
}; };

View File

@@ -3,7 +3,7 @@
"version": "20231229.0.0", "version": "20231229.0.0",
"type": "module", "type": "module",
"publishConfig": { "publishConfig": {
"registry": "https://git.jvalver.de/api/packages/jvalverde/npm/" "registry": "https://git.jvalver.de/api/packages/thilawyn/npm/"
}, },
"exports": { "exports": {
".": { ".": {