Skip to content

Commit

Permalink
chore: add test:docker script for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnart committed May 15, 2024
1 parent 5043b9c commit 84f57bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
"test": "SKIP_ENV_VALIDATION=1 vitest",
"test:docker": "yarn run turbo build && yarn test:run && docker build . -t homarr:local-dev && docker run -p 7575:7575 --name homarr-dev homarr:local-dev",
"test:ui": "SKIP_ENV_VALIDATION=1 vitest --ui",
"test:run": "SKIP_ENV_VALIDATION=1 vitest run",
"test:coverage": "SKIP_ENV_VALIDATION=1 vitest run --coverage",
Expand Down Expand Up @@ -241,4 +242,4 @@
]
}
}
}
}

0 comments on commit 84f57bb

Please sign in to comment.