diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a592cac..0c238be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ typescript_build: script: - cp ../config.json ./src/config.json - yarn install --ignore-engines - - tsc -p ./tsconfig.json + - npx tsc -p ./tsconfig.json lint: stage: test diff --git a/tsconfig.json b/tsconfig.json index 7d691ff..3cf28e5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -47,7 +47,8 @@ "typeRoots": ["./types"], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "skipLibCheck": true, /* Skips type-checking the installed libraries in node_modules. */ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */