Skip to content

Commit

Permalink
chore: update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-ebey committed Jan 11, 2024
1 parent c96dbb8 commit 9b2f43e
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
with:
node-version: 20

- name: TSDoc Action
uses: erikyo/tsdoc-action@v1
with:
entryPoints: ./src/index.ts
output_dir: ./docs
front_page: README.md
- name: Install dependencies
run: npm ci

- name: Generate docs
run: npm run docs

- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ transformed-modules-server.json
*.tgz

dist/
docs/
node_modules/
170 changes: 168 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"scripts": {
"build": "tsc",
"docs": "npx typedoc --out docs src/index.ts",
"test": "vitest"
},
"keywords": [
Expand All @@ -30,6 +31,8 @@
"author": "Jacob Ebey <jacob.ebey@live.com>",
"license": "ISC",
"devDependencies": {
"typedoc": "^0.25.7",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vitest": "^1.1.3"
Expand Down

0 comments on commit 9b2f43e

Please sign in to comment.