Skip to content

The open alternative to Salesforce, designed for AI.

fix: update build script for twenty-emails (#4823)

Quentin G5d6094dfa321
diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml
index 5938e9fb268..b32016c8a62 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 298ef98dfb6..eeb46426ee3 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": {