diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 67e122c..68d331f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,17 +5,35 @@ on: tags: - 'v*' jobs: + + buildFrontend: + runs-on: ubuntu-latest + defaults: + run: + working-directory: cmd/client/templatizer-ui + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - run: yarn install + - run: yarn build + - uses: actions/upload-artifact@v2 + with: + name: templatizer-ui-build + path: cmd/client/templatizer-ui/build + goreleaser: runs-on: ubuntu-20.04 + needs: + - buildFrontend steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: actions/setup-go@v2 with: go-version: 1.17 - - name: "Docker login" run: docker login docker.pkg.github.com -u docker -p ${{ secrets.GITHUB_TOKEN }}