This commit is contained in:
16
.woodpecker/pipeline.yml
Normal file
16
.woodpecker/pipeline.yml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user