feat: multi-pipeline workflow

This commit is contained in:
Aravinth Manivannan 2022-08-16 16:36:05 +05:30
parent df0000783d
commit 6db5f34ac2
Signed by untrusted user: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -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