mirror of
https://github.com/tachiyomiorg/website.git
synced 2025-01-20 22:11:16 +01:00
Run lint as part of deployments
This commit is contained in:
parent
bbac199151
commit
6505f62809
@ -6,7 +6,7 @@
|
||||
publish = "dist"
|
||||
|
||||
[context.production]
|
||||
command = "VITE_HOSTNAME=$URL pnpm build"
|
||||
command = "VITE_HOSTNAME=$URL pnpm test"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "VITE_HOSTNAME=$DEPLOY_PRIME_URL pnpm build"
|
||||
command = "VITE_HOSTNAME=$DEPLOY_PRIME_URL pnpm test"
|
||||
|
@ -18,7 +18,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"test": "pnpm lint && pnpm build && pnpm preview",
|
||||
"test": "pnpm lint && pnpm build",
|
||||
"dev": "vitepress dev src",
|
||||
"build": "vitepress build src",
|
||||
"preview": "vitepress preview src",
|
||||
|
Loading…
x
Reference in New Issue
Block a user