build.yaml 706 B

123456789101112131415161718192021222324252627282930
  1. name: build
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. -
  8. name: Checkout code
  9. uses: actions/checkout@v3
  10. -
  11. name: Install Go
  12. uses: actions/setup-go@v4
  13. with:
  14. go-version: '1.19.x'
  15. -
  16. name: Install node
  17. uses: actions/setup-node@v3
  18. with:
  19. node-version: '18'
  20. cache: 'npm'
  21. cache-dependency-path: './web/package-lock.json'
  22. -
  23. name: Install dependencies
  24. run: make build-deps-ubuntu
  25. -
  26. name: Build all the things
  27. run: make build
  28. -
  29. name: Print build results and checksums
  30. run: make cli-build-results