bitque/.builds/client.yml

30 lines
667 B
YAML
Raw Normal View History

2020-05-01 21:40:32 +02:00
image: archlinux
packages:
- nodejs
- rustup
2020-05-01 22:21:28 +02:00
- yarn
2020-05-01 21:40:32 +02:00
sources:
- https://git.sr.ht/~tsumanu/jirs
environment:
deploy: adrian.wozniak@ita-prog.pl
2020-05-01 22:21:28 +02:00
NODE_ENV: production
DEBUG: false
JIRS_CLIENT_PORT: 80
JIRS_CLIENT_BIND: jirs.ita-prog.pl
JIRS_SERVER_PORT: 80
JIRS_SERVER_BIND: jirs.ita-prog.pl
2020-05-01 21:40:32 +02:00
secrets:
- 7ebab768-e5e4-4c9d-ba57-ec41a72c5665
tasks:
- setup: |
2020-05-01 22:21:28 +02:00
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sudo sh
2020-05-01 21:40:32 +02:00
- test: |
2020-05-01 22:21:28 +02:00
cd ~/jirs/jirs-client
2020-05-01 21:40:32 +02:00
wasm-pack test --node
- build: |
2020-05-01 22:21:28 +02:00
cd ~/jirs/jirs-client
yarn
yarn webpack-cli -p --config ./webpack.config.js
2020-05-01 21:40:32 +02:00
- deploy: |
2020-05-01 22:21:28 +02:00
cd ~/jirs