diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 65ab93af60b..71b24d7a559 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -53,3 +53,7 @@ jobs: uses: coverallsapp/github-action@v1.1.2 with: github-token: ${{ github.token }} + - name: Build TypeDoc & SassDoc + run: | + npm run build:typedoc:en:production + npm run build:sassdoc:en:production diff --git a/gulpfile.js b/gulpfile.js index dda96858443..1513d16c43b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -138,7 +138,7 @@ module.exports.copySchematics = (cb) => { const typedocBuildTheme = (cb) => { spawnSync(`typedoc`, [TYPEDOC.PROJECT_PATH, "--tsconfig", - path.join(__dirname,"tsconfig.json")], { stdio: 'inherit', shell: true }); + path.join(__dirname,"tsconfig.typedoc.json")], { stdio: 'inherit', shell: true }); cb(); }; typedocBuildTheme.displayName = 'typedoc-build:theme'; @@ -200,7 +200,7 @@ function typedocImportJsonFn(cb) { TYPEDOC.EXPORT_JSON_PATH, "--warns", "--tsconfig", - path.join(__dirname,"tsconfig.json")], + path.join(__dirname,"tsconfig.typedoc.json")], { stdio: 'inherit', shell: true}); cb(); } @@ -226,7 +226,7 @@ function typedocBuildDocsJA (cb) { '--localize', 'jp', "--tsconfig", - path.join(__dirname,"tsconfig.json")], { stdio: 'inherit', shell: true }); + path.join(__dirname,"tsconfig.typedoc.json")], { stdio: 'inherit', shell: true }); cb(); } @@ -237,7 +237,7 @@ function typedocBuildDocsEN (cb) { '--localize', 'en', "--tsconfig", - path.join(__dirname,"tsconfig.json")], { stdio: 'inherit', shell: true}); + path.join(__dirname,"tsconfig.typedoc.json")], { stdio: 'inherit', shell: true}); cb(); } diff --git a/tsconfig.json b/tsconfig.json index acd00c04ee9..e5e48607e8a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -31,7 +31,10 @@ "exclude": [ "dist", "projects/igniteui-angular/migrations/", - "projects/igniteui-angular/schematics/" + "projects/igniteui-angular/schematics/", + "projects/igniteui-angular/cypress/", + "cypress/", + "e2e/" ], "typedocOptions": { "out": "dist/igniteui-angular/docs/typescript", diff --git a/tsconfig.typedoc.json b/tsconfig.typedoc.json index a947ca56e7f..66d680c8df7 100644 --- a/tsconfig.typedoc.json +++ b/tsconfig.typedoc.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.json", "exclude": [ - "dist", "projects/igniteui-angular/migrations/", "projects/igniteui-angular/schematics/",