2022-08-16 16:14:27 +05:30
|
|
|
pipeline:
|
2022-08-16 16:38:50 +05:30
|
|
|
buildfrontend:
|
2022-08-16 16:44:15 +05:30
|
|
|
image: node:14
|
2022-08-16 16:38:50 +05:30
|
|
|
commands:
|
2022-08-16 16:47:23 +05:30
|
|
|
- yarn install --prefer-offline --frozen-lockfile
|
2022-08-16 16:38:50 +05:30
|
|
|
- yarn test
|
2022-08-16 16:47:23 +05:30
|
|
|
- yarn run lint-ci
|
|
|
|
- yarn run tsc
|
2022-08-16 16:38:50 +05:30
|
|
|
- yarn build
|
2022-08-16 16:36:05 +05:30
|
|
|
|
2022-08-16 16:38:50 +05:30
|
|
|
deploy:
|
2022-08-16 16:44:15 +05:30
|
|
|
image: node:14
|
2022-08-16 16:38:50 +05:30
|
|
|
when:
|
|
|
|
event: push
|
|
|
|
branch: master
|
|
|
|
commands:
|
|
|
|
- make ci-deploy
|
|
|
|
secrets: [gitea_write_deploy_key, librepages_deploy_secret]
|
2022-08-16 16:14:27 +05:30
|
|
|
|
2022-08-16 16:38:50 +05:30
|
|
|
lint-frontend:
|
2022-08-16 16:44:15 +05:30
|
|
|
image: node:14
|
2022-08-16 16:38:50 +05:30
|
|
|
commands:
|
|
|
|
- yarn lint-ci
|