@@ -11,20 +11,39 @@ on:
14− name: Test and Bundle
14+ name: Test, Bundle, and Dockerise
15 runs-on: ubuntu-20.04
15 runs-on: ubuntu-20.04
18− # Install Zephyr manually
18+ - name: Download Zephyr release
19− - run: curl -Ls https://github.com/coot/zephyr/releases/download/v0.3.2/Linux.tar.gz | tar -xvz -C /tmp
19+ run: curl -Ls https://github.com/coot/zephyr/releases/download/v0.3.2/Linux.tar.gz | tar -xvz -C /tmp
20+ - name: Copy Zephyr to PATH
20− - run: sudo cp /tmp/zephyr/zephyr /usr/local/bin/
21+ run: sudo cp /tmp/zephyr/zephyr /usr/local/bin/
22− # Install yarn
23+ - name: Install yarn
23− - run: sudo npm install -g yarn
24+ run: sudo npm install -g yarn
25 # Run actual tasks
26 # Run actual tasks
26 - uses: actions/checkout@v2
27 - uses: actions/checkout@v2
29+ - name: Install Frontend Dependencies
27− - run: yarn install
30+ run: yarn install
31+ - name: Test Frontend
28− - run: yarn test
32+ run: yarn test
33+ - name: Build Storybook
29− - run: yarn build-storybook
34+ run: yarn build-storybook
35+ - name: Bundle Frontend
30− - run: yarn bundle
36+ run: yarn bundle
39+ - name: Install UI Server Dependencies
40+ working-directory: ui-server
42+ - name: Build UI Server
43+ working-directory: ui-server
46+ ## Build docker image
47+ ## The Dockerfile requires the two previous steps
48+ - name: Build Docker image