Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
build(Docker/ci): get rid of running partial build locally
Panagiotis Papadopoulos3553d6406076
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.ymlindex 8d50a46407..f5e30323dc 100644--- a/.github/workflows/dev.yml+++ b/.github/workflows/dev.yml@@ -44,14 +44,6 @@ jobs:- test_devsteps:- uses: actions/checkout@v4- - name: Set up node & dependencies- uses: actions/setup-node@v4- with:- node-version: 20- cache: "npm"- - run: npm ci- - name: Run the TypeScript build- run: npx tsc- uses: docker/setup-buildx-action@v3- uses: docker/build-push-action@v6with:@@ -80,17 +72,6 @@ jobs:- name: Set up Docker Buildxuses: docker/setup-buildx-action@v3- - name: Set up node & dependencies- uses: actions/setup-node@v4- with:- node-version: 20- cache: "npm"-- - run: npm ci-- - name: Run the TypeScript build- run: npx tsc-- name: Build and export to Dockeruses: docker/build-push-action@v6with:diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.ymlindex d8331184fa..085ae836e4 100644--- a/.github/workflows/main-docker.yml+++ b/.github/workflows/main-docker.yml@@ -151,16 +151,6 @@ jobs:- name: Set up Docker Buildxuses: docker/setup-buildx-action@v3-- - name: Set up node & dependencies- uses: actions/setup-node@v4- with:- node-version: 20- cache: "npm"- - run: npm ci- - name: Run the TypeScript build- run: npx tsc-- name: Login to GHCRuses: docker/login-action@v3with:diff --git a/bin/build-docker.sh b/bin/build-docker.shindex 892afcd925..d95c289d49 100755--- a/bin/build-docker.sh+++ b/bin/build-docker.sh@@ -5,9 +5,6 @@ set -e # Fail on any command errorVERSION=`jq -r ".version" package.json`SERIES=${VERSION:0:4}-latest-echo "Compiling typescript..."-npx tsc-sudo docker build -t triliumnext/notes:$VERSION --network host -t triliumnext/notes:$SERIES .if [[ $VERSION != *"beta"* ]]; then