feat: multi-pipeline workflow
This commit is contained in:
parent
df0000783d
commit
6db5f34ac2
1 changed files with 12 additions and 3 deletions
|
@ -3,11 +3,20 @@ pipeline:
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn lint-ci
|
|
||||||
- yarn test
|
- yarn test
|
||||||
- yarn test:postcss
|
- yarn test:postcss
|
||||||
- yarn test:sdk
|
- yarn test:sdk
|
||||||
- yarn build
|
- yarn build
|
||||||
- make ci-deploy
|
|
||||||
secrets: [ STRIPE_PUBLIC_KEY, STRIPE_SECRET_KEY ]
|
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- make ci-deploy
|
||||||
|
secrets: [ gitea_write_deploy_key, librepages_deploy_secret ]
|
||||||
|
branches:
|
||||||
|
include: [ master ]
|
||||||
|
|
||||||
|
lint-frontend:
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- yarn lint-ci
|
||||||
|
|
Reference in a new issue