chore(nx/test): set up global test script

This commit is contained in:
Elian Doran 2025-04-28 09:18:29 +03:00
parent 0fa6524de4
commit a8b881799d
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -100,7 +100,7 @@ jobs:
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- name: Run the unit tests - name: Run the unit tests
run: npm run test run: pnpm run test
build_docker: build_docker:
name: Build Docker image name: Build Docker image

View File

@ -12,7 +12,8 @@
"server:start-prod": "pnpm server:build && cross-env TRILIUM_DATA_DIR=apps/server/data node apps/server/dist/main.js", "server:start-prod": "pnpm server:build && cross-env TRILIUM_DATA_DIR=apps/server/data node apps/server/dist/main.js",
"electron:build": "nx build desktop", "electron:build": "nx build desktop",
"chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts", "chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts",
"chore:update-build-info": "tsx ./scripts/update-build-info.ts" "chore:update-build-info": "tsx ./scripts/update-build-info.ts",
"test": "pnpm nx run-many -t test"
}, },
"private": true, "private": true,
"devDependencies": { "devDependencies": {