Skip to content

Commit

Permalink
release: build web app in before goreleaser (#95)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
unknwon committed Aug 22, 2023
1 parent f85daf5 commit c53cab3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Fetch all Git tags
run: git fetch --force --tags
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
cache: true
cache-dependency-path: go.sum
- uses: goreleaser/goreleaser-action@v4
- name: Build and release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
Expand All @@ -37,14 +37,22 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Fetch all Git tags
run: git fetch --force --tags
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
cache: true
cache-dependency-path: go.sum
- uses: goreleaser/goreleaser-action@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- cwd: pgrokd/web
- name: Build web app
run: pnpm --dir pgrokd/web run build
- name: Build and release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@ jobs:
run_install: |
- cwd: pgrokd/web
- name: Run ESLint
run: |
cd pgrokd/web
pnpm run lint
run: pnpm --dir pgrokd/web run lint

0 comments on commit c53cab3

Please sign in to comment.