diff --git a/.woodpecker/pipeline.yml b/.woodpecker/pipeline.yml new file mode 100644 index 0000000..c658237 --- /dev/null +++ b/.woodpecker/pipeline.yml @@ -0,0 +1,16 @@ +steps: + build-and-publish: + image: node:16 + secrets: + - source: git_password + target: GITEA_TOKEN + commands: + - npm install + - npm install typescript@latest + - npm run build + # Erstellt die Authentifizierung für die Registry (URL aus package.json) + - echo "//git.familie-berner.de/api/packages/Public/npm/:_authToken=$GITEA_TOKEN" > .npmrc + - npm publish + when: + branch: + - master \ No newline at end of file