Skip to content

Commit

Permalink
Update workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivancorrales committed Mar 5, 2022
1 parent 058e81e commit 309b6f3
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 309b6f3

Please sign in to comment.