mirror of
https://github.com/openziti/zrok.git
synced 2024-11-08 01:04:08 +01:00
33 lines
729 B
YAML
33 lines
729 B
YAML
name: Core Build
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
ubuntu-build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: setup-go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19.3
|
|
|
|
- name: setup-node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- run: npm install
|
|
working-directory: ui
|
|
|
|
- run: npm run build
|
|
working-directory: ui
|
|
env:
|
|
CI: ""
|
|
|
|
- name: go build
|
|
run: go build -ldflags "-X github.com/openziti-test-kitchen/zrok/build.Version=${{ github.ref }} -X github.com/openziti-test-kitchen/zrok/build.Hash=${{ github.sha }}" ./...
|
|
|
|
- name: test
|
|
run: go test -v ./... |