Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ on:
- master

jobs:
build:
publish-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
registry-url: https://registry.npmjs.org/
- run: npm run doc
- name: Deploy to Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ out
.nuxt
dist

# Typedoc generated documentation
docs

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
Expand Down
197 changes: 197 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"scripts": {
"test": "jest",
"build": "rimraf dist && tsc"
"build": "rimraf dist && tsc",
"doc": "typedoc"
},
"keywords": [
"rust",
Expand All @@ -31,6 +32,7 @@
"jest": "^30.0.5",
"rimraf": "^6.0.1",
"ts-jest": "^29.4.1",
"typedoc": "^0.28.11",
"typescript": "^5.9.2"
}
}
Loading