forked from mystiq/hydrogen-web
23 lines
501 B
YAML
23 lines
501 B
YAML
pipeline:
|
|
buildfrontend:
|
|
image: node
|
|
commands:
|
|
- yarn install
|
|
- yarn test
|
|
- yarn test:postcss
|
|
- yarn test:sdk
|
|
- yarn build
|
|
|
|
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
|