test workflow

This commit is contained in:
somrat sorkar 2023-06-26 13:20:12 +06:00
parent c88f7eb625
commit 5ebc7b7ef2

View File

@ -8,7 +8,7 @@
"dev": "cd exampleSite; hugo server || hugo server --themesDir ../..", "dev": "cd exampleSite; hugo server || hugo server --themesDir ../..",
"test": "cd exampleSite; hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify || hugo server --themesDir ../.. --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify", "test": "cd exampleSite; hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify || hugo server --themesDir ../.. --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify",
"build": "cd exampleSite; hugo --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic || hugo --themesDir ../.. --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic", "build": "cd exampleSite; hugo --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic || hugo --themesDir ../.. --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic",
"update-modules": "hugo mod clean && hugo mod get -u ./... && hugo mod tidy", "update-modules": "hugo mod clean --all && hugo mod get -u ./... && hugo mod tidy",
"format": "prettier -w .", "format": "prettier -w .",
"remove-darkmode": "node ./scripts/removeDarkmode.js && yarn format" "remove-darkmode": "node ./scripts/removeDarkmode.js && yarn format"
}, },