2023-04-28 17:32:17 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
name: deployment
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- yarn install --frozen-lockfile
|
|
|
|
- yarn build
|
|
|
|
- name: test
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- yarn test
|
|
|
|
depends_on:
|
|
|
|
- build
|
|
|
|
- name: lint
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- yarn lint
|
|
|
|
depends_on:
|
|
|
|
- build
|
|
|
|
- name: deploy
|
|
|
|
image: plugins/npm
|
|
|
|
settings:
|
|
|
|
username: vylpes
|
|
|
|
password:
|
|
|
|
from_secret: npm_password
|
|
|
|
email: ethan@vylpes.com
|
|
|
|
token:
|
|
|
|
from_secret: npm_token
|
|
|
|
depends_on:
|
|
|
|
- test
|
|
|
|
- lint
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2022-12-18 15:27:03 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: integration
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- yarn install --frozen-lockfile
|
2023-04-22 13:20:30 +01:00
|
|
|
- yarn build
|
2022-12-18 15:27:03 +00:00
|
|
|
- name: test
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- yarn test
|
|
|
|
depends_on:
|
|
|
|
- build
|
2023-04-22 13:20:30 +01:00
|
|
|
- name: lint
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- yarn lint
|
|
|
|
depends_on:
|
|
|
|
- build
|
2022-12-18 15:27:03 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- develop
|
|
|
|
- feature/*
|
|
|
|
- hotfix/*
|
2023-02-27 18:34:31 +00:00
|
|
|
- renovate/*
|
2022-12-18 15:27:03 +00:00
|
|
|
event:
|
|
|
|
- push
|