mirror of
https://github.com/veeso/termscp.git
synced 2026-07-26 17:41:02 +02:00
ci(site): add format/lint/test/build workflow for astro site
Add Site GitHub Actions workflow running prettier format check, astro check, tests, and build on changes under site/. Wire prettier into the site package with config, ignore, and scripts, and format existing sources.
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
"prebuild": "node scripts/copy-install.mjs",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"check": "astro check"
|
||||
"check": "astro check",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/sitemap": "^3.2.0",
|
||||
@@ -18,6 +20,8 @@
|
||||
"devDependencies": {
|
||||
"@astrojs/check": "^0.9.9",
|
||||
"@tailwindcss/vite": "^4.0.0",
|
||||
"prettier": "3.8.3",
|
||||
"prettier-plugin-astro": "0.14.1",
|
||||
"tailwindcss": "^4.0.0",
|
||||
"typescript": "^5.6.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user