-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tsdoc on PRs, move build to a subdir, fix warnings (#130)
The tsdoc build broke recently because of the inclusion of VideoFrame. This fixes that, and prevents it from happening again. It also moves the build to a subdirectory cleans up the dependencies for more tests in the next PR. I had to replace the TypeDoc API usage with a command-line invocation because I can't figure out how to enable treatWarningsAsErrors and then exit>0 in the API usage.
- Loading branch information
Showing
11 changed files
with
169 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: Build and Deploy | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
@@ -17,14 +20,13 @@ jobs: | |
with: | ||
node-version: '16.x' | ||
|
||
- name: Install and Build 🏭 | ||
run: | | ||
npm ci | ||
npm run build-ci | ||
- run: npm ci | ||
- run: npm run build-docs | ||
|
||
- name: Deploy 📦 | ||
if: ${{ success() && github.ref == 'refs/heads/main' }} | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: out | ||
FOLDER: tsdoc-src/out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/dist/ | ||
/node_modules/ | ||
/out/ | ||
/generated/webgpu.ts | ||
node_modules | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.