mirror of
https://github.com/usememos/memos.git
synced 2025-03-10 20:43:19 +08:00
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
|
||||
check-latest: 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
|
||||
uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"release": "vite build --mode release --outDir=../server/router/frontend/dist --emptyOutDir",
|
||||
"lint": "eslint --ext .js,.ts,.tsx, src",
|
||||
"type-check": "tsc --noEmit",
|
||||
"postinstall": "cd ../proto && buf generate"
|
||||
|
|
Loading…
Reference in a new issue