Skip to content

Commit

Permalink
Run e2e tests when checking
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaHydrae committed Sep 29, 2024
1 parent d6d2ad2 commit 72f44b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": "npm run build:frontend && npm run build:backend && copyfiles -u 2 \"./frontend/dist/**/*\" ./dist/public/",
"build:backend": "npm run --workspace backend build",
"build:frontend": "npm run --workspace frontend build",
"check": "npm run format && npm run lint",
"check": "npm run format && npm run lint && npm test",
"check:write": "npm run format:write && npm run lint:write",
"format": "prettier --check .",
"format:write": "prettier --write .",
Expand All @@ -22,7 +22,9 @@
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
"start:backend": "npm run --workspace backend start",
"start:frontend": "npm run --workspace frontend start",
"start:prod": "npm run --workspace backend start:prod"
"start:prod": "npm run --workspace backend start:prod",
"test": "npm run test:e2e",
"test:e2e": "playwright test"
},
"workspaces": [
"backend",
Expand Down

0 comments on commit 72f44b7

Please sign in to comment.