Skip to content

Build your personal knowledge base with Trilium Notes

fix(ci): tsx not found when updating build info

Elian Doran6dc2e4088f31
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index e1c5c417b5..c12db78c97 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -110,6 +110,8 @@ jobs:
- test_dev
steps:
- uses: actions/checkout@v4
+ - name: Install dependencies
+ run: npm ci
- name: Update build info
run: npm run chore:update-build-info
- uses: docker/setup-buildx-action@v3
@@ -132,6 +134,9 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
+ - name: Install dependencies
+ run: npm ci
+
- name: Update build info
run: npm run chore:update-build-info
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml
index 3ba671e3d9..755956fb1c 100644
--- a/.github/workflows/main-docker.yml
+++ b/.github/workflows/main-docker.yml
@@ -132,6 +132,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
+ - name: Install dependencies
+ run: npm ci
+
- name: Update build info
run: npm run chore:update-build-info