[CI] Create lint-and-build action. (#14)

This commit is contained in:
2026-09-21 14:06:35 +00:00
committed by GitHub
parent bc9784c9b7
commit 4eb3d2bb34
3 changed files with 36 additions and 2 deletions
+2
View File
@@ -29,6 +29,8 @@
"scripts": {
"dev": "tsx watch --enable-source-maps src/index.ts",
"start": "node dist/index.js",
"lint": "npx eslint .",
"typecheck": "npx tsc --noEmit",
"build": "npm run clean && node scripts/build.js && npm run copyfiles",
"clean": "rimraf dist",
"copyfiles": "copyfiles -u 1 \"./src/**/*.html\" ./dist",