forked from OpenWF/SpaceNinjaServer
		
	chore: don't emit code when verifying types in CI (#1380)
Reviewed-on: OpenWF/SpaceNinjaServer#1380 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									f7ada5a7e5
								
							
						
					
					
						commit
						c376ff25f3
					
				
							
								
								
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -17,5 +17,5 @@ jobs:
 | 
				
			|||||||
                  node-version: ${{ matrix.version }}
 | 
					                  node-version: ${{ matrix.version }}
 | 
				
			||||||
            - run: npm ci
 | 
					            - run: npm ci
 | 
				
			||||||
            - run: cp config.json.example config.json
 | 
					            - run: cp config.json.example config.json
 | 
				
			||||||
            - run: npm run build
 | 
					            - run: npm run verify
 | 
				
			||||||
            - run: npm run lint
 | 
					            - run: npm run lint
 | 
				
			||||||
 | 
				
			|||||||
@ -6,7 +6,8 @@
 | 
				
			|||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "start": "node --import ./build/src/pathman.js build/src/index.js",
 | 
					    "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 ",
 | 
					    "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": "eslint --ext .ts .",
 | 
				
			||||||
    "lint:fix": "eslint --fix --ext .ts .",
 | 
					    "lint:fix": "eslint --fix --ext .ts .",
 | 
				
			||||||
    "prettier": "prettier --write .",
 | 
					    "prettier": "prettier --write .",
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
    /* Visit https://aka.ms/tsconfig to read more about this file */
 | 
					    /* Visit https://aka.ms/tsconfig to read more about this file */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Projects */
 | 
					    /* 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. */
 | 
					    // "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. */
 | 
					    // "tsBuildInfoFile": "./.tsbuildinfo",              /* Specify the path to .tsbuildinfo incremental compilation file. */
 | 
				
			||||||
    // "disableSourceOfProjectReferenceRedirect": true,  /* Disable preferring source files instead of declaration files when referencing composite projects. */
 | 
					    // "disableSourceOfProjectReferenceRedirect": true,  /* Disable preferring source files instead of declaration files when referencing composite projects. */
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user