From 5d6094dfa32133027b411f124a79abf264bb13cc Mon Sep 17 00:00:00 2001 From: Quentin G Date: Thu, 4 Apr 2024 18:37:35 +0200 Subject: [PATCH] fix: update build script for twenty-emails (#4823) Fix an issue with the build of the server in docker failing to find vite --- .github/workflows/ci-server.yaml | 2 ++ packages/twenty-emails/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml index 5938e9fb2..b32016c8a 100644 --- a/.github/workflows/ci-server.yaml +++ b/.github/workflows/ci-server.yaml @@ -6,10 +6,12 @@ on: paths: - 'package.json' - 'packages/twenty-server/**' + - 'packages/twenty-emails/**' pull_request: paths: - 'package.json' - 'packages/twenty-server/**' + - 'packages/twenty-emails/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/packages/twenty-emails/package.json b/packages/twenty-emails/package.json index 298ef98df..eeb46426e 100644 --- a/packages/twenty-emails/package.json +++ b/packages/twenty-emails/package.json @@ -8,7 +8,7 @@ "main": "./dist/index.js", "scripts": { "nx": "NX_DEFAULT_PROJECT=twenty-emails node ../../node_modules/nx/bin/nx.js", - "build": "vite build", + "build": "npx vite build", "lint": "eslint" }, "exports": {