chore: don't emit code when verifying types in CI
All checks were successful
Build / build (18) (push) Successful in 44s
Build / build (20) (push) Successful in 1m12s
Build / build (22) (push) Successful in 1m18s
Build / build (18) (pull_request) Successful in 48s
Build / build (20) (pull_request) Successful in 1m14s
Build / build (22) (pull_request) Successful in 1m17s

This commit is contained in:
Sainan 2025-03-30 13:51:01 +02:00
parent f7ada5a7e5
commit c692b61bff
3 changed files with 4 additions and 3 deletions

View File

@ -17,5 +17,5 @@ jobs:
node-version: ${{ matrix.version }}
- run: npm ci
- run: cp config.json.example config.json
- run: npm run build
- run: npm run verify
- run: npm run lint

View File

@ -6,7 +6,8 @@
"scripts": {
"start": "node --import ./build/src/pathman.js build/src/index.js",
"dev": "ts-node-dev --openssl-legacy-provider -r tsconfig-paths/register src/index.ts ",
"build": "tsc && copyfiles static/webui/** build",
"build": "tsc --incremental && copyfiles static/webui/** build",
"verify": "tsc --noEmit",
"lint": "eslint --ext .ts .",
"lint:fix": "eslint --fix --ext .ts .",
"prettier": "prettier --write .",

View File

@ -3,7 +3,7 @@
/* Visit https://aka.ms/tsconfig to read more about this file */
/* Projects */
"incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
// "incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */