Skip to content

Build your personal knowledge base with Trilium Notes

chore(nx/ci): fix wrong cache

Elian Dorand4b5f9508f9a
diff --git a/.github/actions/build-server/action.yml b/.github/actions/build-server/action.yml
index 4143addb79..44c7906148 100644
--- a/.github/actions/build-server/action.yml
+++ b/.github/actions/build-server/action.yml
@@ -13,7 +13,7 @@ runs:
uses: actions/setup-node@v4
with:
node-version: 22
- cache: "npm"
+ cache: "pnpm"
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 297e1cca7c..ff84fcc0c9 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -64,7 +64,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
- cache: "npm"
+ cache: "pnpm"
- run: pnpm install --frozen-lockfile
@@ -96,7 +96,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
- cache: "npm"
+ cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Run the unit tests
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml
index b1d288f840..2312f247d8 100644
--- a/.github/workflows/main-docker.yml
+++ b/.github/workflows/main-docker.yml
@@ -47,7 +47,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
- cache: "npm"
+ cache: "pnpm"
- name: Install npm dependencies
run: pnpm install --frozen-lockfile