diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index 9ec70f5..8571c8c 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -58,6 +58,20 @@ jobs: runs-on: ubuntu-latest needs: tests steps: + - name: 'Checkout Repo' + uses: actions/checkout@v4 + - name: 'Setup Go' + uses: actions/setup-go@v4 + with: + go-version: ^1.22 + - name: 'Setup Node' + uses: actions/setup-node@v4 + with: + node-version: 18 + - name: 'Build Frontend Artefacts' + run: yarn && NODE_OPTIONS=--openssl-legacy-provider yarn build + - name: 'Mirror Dist' + run: cp -r ./dist ./pkg/server/dist - name: 'Matrix Binary Compilation' run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o dist/roadie.${{ matrix.arch }}-${{ matrix.os }} ./cmd/roadie - name: 'Archive Binary'