Skip to content

Commit

Permalink
ci: add typedoc action build
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkaroid committed Apr 12, 2023
1 parent 4df2425 commit 83e34ce
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: sinkaroid
github: sinkaroid
patreon: scathach_bot
26 changes: 26 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Documentation

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install dependencies
run: |
npm i --save-dev
npm run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages
folder: docs
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Features
- Serverless
- Reverse image proxy
- Ratelimiting
- Redis cluster support

# Information
- [Cloudflare Workers](https://workers.cloudflare.com/)
- [Lambda Functions](https://www.netlify.com/products/functions/)
- [Documentation](https://scathachgrip.github.io/gaebolg/)
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
"build": "netlify-lambda build src",
"dev": "netlify dev",
"ts-check": "tsc --noEmit --lib ES2015 ./src/*.ts",
"lint": "npx eslint . --ext .ts",
"lint:fix": "npx eslint . --fix"
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --fix",
"docs": "typedoc --entryPointStrategy expand src/"
},
"dependencies": {
"async-ratelimiter": "^1.3.7",
Expand All @@ -34,6 +35,7 @@
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.36.0",
"netlify-lambda": "^2.0.1",
"typedoc": "^0.24.1",
"typescript": "^5.0.2"
}
}

0 comments on commit 83e34ce

Please sign in to comment.