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