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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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": {