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
3 changed files with 8 additions and 6 deletions
Showing only changes of commit 2ccdb7184f - Show all commits

View File

@@ -22,7 +22,7 @@ local lint_step = {
local build_step = { local build_step = {
name: "build", name: "build",
image: bun_image, image: bun_image,
commands: ["bun run build", "ls -la dist"], commands: ["bun run build"],
}; };
local publish_step = { local publish_step = {
@@ -34,10 +34,9 @@ local publish_step = {
}, },
commands: [ commands: [
"ls -la dist", "npm set registry https://git.jvalver.de/api/packages/thilawyn/npm/",
// "npm set registry https://git.jvalver.de/api/packages/thilawyn/npm/", "npm config set -- //git.jvalver.de/api/packages/thilawyn/npm/:_authToken $NPM_TOKEN",
// "npm config set -- //git.jvalver.de/api/packages/thilawyn/npm/:_authToken $NPM_TOKEN", "npm publish",
// "npm publish",
], ],
}; };

1
.gitignore vendored
View File

@@ -129,4 +129,3 @@ dist
.yarn/build-state.yml .yarn/build-state.yml
.yarn/install-state.gz .yarn/install-state.gz
.pnp.* .pnp.*

4
.npmignore Normal file
View File

@@ -0,0 +1,4 @@
*
!/dist/
!/LICENSE
!/package.json