generated from itzTheMeow/typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (32 loc) · 930 Bytes
/
docs.yml
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
name: Publish Documentation
on:
push:
branches: [master]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.0.2
- name: Install typedoc
run: pnpm install --frozen-lockfile
- name: Install dependencies (core)
run: cd core && pnpm install --frozen-lockfile
- name: Install dependencies (commandeer)
run: cd commandeer && pnpm install --frozen-lockfile
- name: Install dependencies (voice)
run: cd voice && pnpm install --frozen-lockfile
- name: Build
run: pnpm run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: docs
folder: docs