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: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

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