GitHub Actions: Package server
This commit is contained in:
parent
2e3aff8f90
commit
e6995334a6
1 changed files with 8 additions and 5 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue