mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-26 13:35:16 +03:00
Updated test:unit
script for Comments-UI
refs https://github.com/TryGhost/Toolbox/issues/400 - this package won't pass tests on Node 16 because of the use of `fetch`, but that's ok because we publish using Node 18 anyway - this switches the test command to just ensuring the package can build
This commit is contained in:
parent
8fc09b9433
commit
130c9c3c6f
@ -21,7 +21,7 @@
|
|||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test:ci": "yarn test --coverage",
|
"test:ci": "yarn test --coverage",
|
||||||
"test:unit": "yarn test:ci",
|
"test:unit": "yarn build",
|
||||||
"lint": "eslint src --ext .js --cache",
|
"lint": "eslint src --ext .js --cache",
|
||||||
"preship": "yarn lint",
|
"preship": "yarn lint",
|
||||||
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
|
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
|
||||||
|
Loading…
Reference in New Issue
Block a user