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

Fix an issue with the build of the server in docker failing to find vite
This commit is contained in:
Quentin G
2024-04-04 18:37:35 +02:00
committed by GitHub
parent e784dc8a98
commit 5d6094dfa3
2 changed files with 3 additions and 1 deletions

View File

@@ -6,10 +6,12 @@ on:
paths: paths:
- 'package.json' - 'package.json'
- 'packages/twenty-server/**' - 'packages/twenty-server/**'
- 'packages/twenty-emails/**'
pull_request: pull_request:
paths: paths:
- 'package.json' - 'package.json'
- 'packages/twenty-server/**' - 'packages/twenty-server/**'
- 'packages/twenty-emails/**'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true

View File

@@ -8,7 +8,7 @@
"main": "./dist/index.js", "main": "./dist/index.js",
"scripts": { "scripts": {
"nx": "NX_DEFAULT_PROJECT=twenty-emails node ../../node_modules/nx/bin/nx.js", "nx": "NX_DEFAULT_PROJECT=twenty-emails node ../../node_modules/nx/bin/nx.js",
"build": "vite build", "build": "npx vite build",
"lint": "eslint" "lint": "eslint"
}, },
"exports": { "exports": {