hydrogen-web/.woodpecker.yml

19 lines
457 B
YAML
Raw Normal View History

2022-08-16 16:14:27 +05:30
pipeline:
2022-08-16 16:38:50 +05:30
buildfrontend:
2022-08-16 16:52:22 +05:30
image: node:16
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:52:22 +05:30
image: node:16
2022-08-16 16:38:50 +05:30
when:
event: push
branch: master
commands:
- make ci-deploy
2022-08-16 16:52:22 +05:30
secrets: [ gitea_write_deploy_key, librepages_deploy_secret ]