-
Notifications
You must be signed in to change notification settings - Fork 8
43 lines (34 loc) · 870 Bytes
/
typedoc.yml
File metadata and controls
43 lines (34 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Typedoc
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
typedoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: "Use NodeJS 16"
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'yarn'
- name: "Install dependencies"
run: |
yarn install
- name: TSC
run: |
yarn tsc
- name: Docs
run: |
yarn docs
- name: Publish pages 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: docs