forked from mystiq/hydrogen-web
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
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn lint-ci
|
||||
- yarn test
|
||||
- yarn test:postcss
|
||||
- yarn test:sdk
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue