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: update version image: node:12 commands: - npm version prerelease when: branch: - develop - 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