This repository was archived by the owner on Aug 3, 2024. It is now read-only.
File tree 2 files changed +25
-3
lines changed
2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1
- name : goreleaser
1
+ name : Publish packages
2
2
3
3
on :
4
4
push :
@@ -19,13 +19,34 @@ jobs:
19
19
with :
20
20
fetch-depth : 0
21
21
- run : git fetch --force --tags
22
- - uses : actions/setup-go@v3
22
+
23
+ - name : Setup go
24
+ uses : actions/setup-go@v3
23
25
with :
24
26
go-version : " >=1.20"
25
27
cache : true
28
+
29
+ - name : Setup pnpm
30
+ uses : pnpm/action-setup@v2
31
+ with :
32
+ version : 7.27.1
33
+
34
+ - name : Setup node
35
+ uses : actions/setup-node@v3
36
+ with :
37
+ node-version : 18.12.1
38
+ cache : " pnpm"
39
+ cache-dependency-path : " **/pnpm-lock.yaml"
40
+
41
+ - name : Build frontend
42
+ run : |
43
+ npm i -g pnpm
44
+ pnpm install --dir internal/server/web --frozen-lockfile && pnpm run --dir internal/server/web build
45
+
26
46
# More assembly might be required: Docker logins, GPG, etc. It all depends
27
47
# on your needs.
28
- - uses : goreleaser/goreleaser-action@v4
48
+ - name : Publish packages
49
+ uses : goreleaser/goreleaser-action@v4
29
50
with :
30
51
# either 'goreleaser' (default) or 'goreleaser-pro':
31
52
distribution : goreleaser
Original file line number Diff line number Diff line change @@ -52,3 +52,4 @@ changelog:
52
52
- " ^test:"
53
53
release :
54
54
name_template : " v{{ .Version }}"
55
+ draft : true
You can’t perform that action at this time.
0 commit comments