mirror of
https://github.com/vee1e/workorder-desk.git
synced 2026-09-01 09:50:13 +00:00
chore(build): build shared before typecheck, test, and dev
This commit is contained in:
parent
444da042b3
commit
6d4934d1b2
2 changed files with 7 additions and 7 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -57,9 +57,7 @@ jobs:
|
|||
node-version: 20
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- run: npm run test -w @workorders/shared
|
||||
- run: npm run test:coverage -w backend
|
||||
- run: npm run test:coverage -w frontend
|
||||
- run: npm run test:coverage
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
|
|
|||
10
package.json
10
package.json
|
|
@ -20,11 +20,13 @@
|
|||
},
|
||||
"scripts": {
|
||||
"build": "npm run build -w @workorders/shared && npm run build -w backend && npm run build -w frontend",
|
||||
"dev": "npm run dev -w backend & npm run dev -w frontend & wait",
|
||||
"dev": "npm run build -w @workorders/shared && npm run dev -w backend & npm run dev -w frontend & wait",
|
||||
"lint": "npm run lint -w @workorders/shared && npm run lint -w backend && npm run lint -w frontend",
|
||||
"typecheck": "npm run typecheck -w @workorders/shared && npm run typecheck -w backend && npm run typecheck -w frontend",
|
||||
"test": "npm run test -w @workorders/shared && npm run test -w backend && npm run test -w frontend",
|
||||
"seed": "npm run seed -w backend"
|
||||
"typecheck": "npm run build -w @workorders/shared && npm run typecheck -w @workorders/shared && npm run typecheck -w backend && npm run typecheck -w frontend",
|
||||
"test": "npm run build -w @workorders/shared && npm run test -w @workorders/shared && npm run test -w backend && npm run test -w frontend",
|
||||
"test:coverage": "npm run build -w @workorders/shared && npm run test:coverage -w backend && npm run test:coverage -w frontend",
|
||||
"seed": "npm run seed -w backend",
|
||||
"seed:demo": "npm run seed:demo -w backend"
|
||||
},
|
||||
"allowScripts": {
|
||||
"mongodb-memory-server": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue