chore: update build artifacts
This commit is contained in:
parent
4e54ec38ff
commit
1dc686fa6c
2 changed files with 13 additions and 0 deletions
12
.github/workflows/build-artifacts.yml
vendored
12
.github/workflows/build-artifacts.yml
vendored
|
|
@ -21,6 +21,18 @@ jobs:
|
||||||
go-version: 1.22
|
go-version: 1.22
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: true
|
cache: true
|
||||||
|
- uses: pnpm/action-setup@v4.0.0
|
||||||
|
with:
|
||||||
|
version: 9
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: "20"
|
||||||
|
cache: pnpm
|
||||||
|
cache-dependency-path: "web/pnpm-lock.yaml"
|
||||||
|
- run: pnpm install
|
||||||
|
working-directory: web
|
||||||
|
- run: pnpm release
|
||||||
|
working-directory: web
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v5
|
uses: goreleaser/goreleaser-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
|
"release": "vite build --mode release --outDir=../server/router/frontend/dist --emptyOutDir",
|
||||||
"lint": "eslint --ext .js,.ts,.tsx, src",
|
"lint": "eslint --ext .js,.ts,.tsx, src",
|
||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit",
|
||||||
"postinstall": "cd ../proto && buf generate"
|
"postinstall": "cd ../proto && buf generate"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue