Skip to content

Build your personal knowledge base with Trilium Notes

fix(ci): docker-main not building due to use of npm

Elian Dorana1461fffde3a
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml
index b13fd9ffce..a7bf9f557c 100644
--- a/.github/workflows/main-docker.yml
+++ b/.github/workflows/main-docker.yml
@@ -132,12 +132,18 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
+ - uses: pnpm/action-setup@v4
+ - name: Set up node & dependencies
+ uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Update build info
- run: npm run chore:update-build-info
+ run: pnpm run chore:update-build-info
- name: Docker meta
id: meta