This commit is contained in:
parent
6db5f34ac2
commit
d80e970117
1 changed files with 20 additions and 19 deletions
|
@ -1,22 +1,23 @@
|
|||
pipeline:
|
||||
buildfrontend:
|
||||
image: node
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn test
|
||||
- yarn test:postcss
|
||||
- yarn test:sdk
|
||||
- yarn build
|
||||
buildfrontend:
|
||||
image: node
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn test
|
||||
- yarn test:postcss
|
||||
- yarn test:sdk
|
||||
- yarn build
|
||||
|
||||
deploy:
|
||||
image: node
|
||||
commands:
|
||||
- make ci-deploy
|
||||
secrets: [ gitea_write_deploy_key, librepages_deploy_secret ]
|
||||
branches:
|
||||
include: [ master ]
|
||||
deploy:
|
||||
image: node
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
||||
commands:
|
||||
- make ci-deploy
|
||||
secrets: [gitea_write_deploy_key, librepages_deploy_secret]
|
||||
|
||||
lint-frontend:
|
||||
image: node
|
||||
commands:
|
||||
- yarn lint-ci
|
||||
lint-frontend:
|
||||
image: node
|
||||
commands:
|
||||
- yarn lint-ci
|
||||
|
|
Reference in a new issue