GitHub Actions: Package server

This commit is contained in:
Chen-I Lim 2021-01-06 10:07:17 -08:00
parent 2e3aff8f90
commit e6995334a6

View file

@ -25,11 +25,14 @@ jobs:
with:
go-version: 1.15
- name: Build server
run: make server
- name: Build server Linux package
run: make server-linux-package
- name: Build webapp
run: cd webapp; npm run pack
- uses: actions/upload-artifact@v1
with:
name: octo-linux-amd64.tar.gz
path: ${{ github.workspace }}/dist/octo-linux-amd64.tar.gz
name: Upload server package
- name: "Test webapp: Jest"
run: cd webapp; npm run test
@ -38,4 +41,4 @@ jobs:
run: "cd webapp; npm run cypress:ci"
- name: Test server
run: cd server; go test -v ./...
run: make server-test