Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update build artifacts

Steven1dc686fa6c6f
diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml
index 087466e8b..9e07be2b8 100644
--- a/.github/workflows/build-artifacts.yml
+++ b/.github/workflows/build-artifacts.yml
@@ -21,6 +21,18 @@ jobs:
go-version: 1.22
check-latest: true
cache: true
+ - uses: pnpm/[email protected]
+ 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:
diff --git a/web/package.json b/web/package.json
index 4aaee59fc..6acc415a3 100644
--- a/web/package.json
+++ b/web/package.json
@@ -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"