kind: pipeline name: default steps: - name: prepare image: node:12 commands: - npm install - name: audit image: node:12 failure: ignore commands: - npm audit - name: build image: node:12 commands: - npm run build:prod - name: pre-release image: plugins/gitea-release settings: api_key: from_secret: gitea_token base_url: https://gittr.ch/ checksum: - md5 - sha512 draft: true files: dist/* note: README.md title: VERSION when: branch: develop - name: test-release image: plugins/gitea-release settings: api_key: from_secret: gitea_token base_url: https://gittr.ch/ checksum: - md5 - sha512 draft: true files: dist/* note: README.md prerelease: true title: VERSION when: branch: feature/* - name: release image: plugins/gitea-release settings: api_key: from_secret: gitea_token base_url: https://gittr.ch/ checksum: - md5 - sha512 files: dist/* file_exists: fail note: README.md title: VERSION when: event: tag