Skip to content

Commit 958f510

Browse files
authored
ci: add docs ci (#363)
* ci: add docs ci Signed-off-by: Grant Timmerman <[email protected]> * ci: use node 16 Signed-off-by: Grant Timmerman <[email protected]> * ci: only diff docs folder Signed-off-by: Grant Timmerman <[email protected]> * ci: purposefully break to test ci Signed-off-by: Grant Timmerman <[email protected]> * ci: purposefully unbreak to test ci Signed-off-by: Grant Timmerman <[email protected]> * ci: purposefully unbreak to test ci Signed-off-by: Grant Timmerman <[email protected]> * ci: purposefully break to test ci Signed-off-by: Grant Timmerman <[email protected]> * ci: purposefully unbreak to test ci Signed-off-by: Grant Timmerman <[email protected]>
1 parent 1e76381 commit 958f510

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/docs.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Node.js Docs CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
jobs:
8+
docs:
9+
runs-on: ubuntu-18.04
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Setup Node.js
13+
uses: actions/setup-node@v2
14+
with:
15+
node-version: '16'
16+
- name: Install dependencies
17+
run: npm install
18+
- name: Build TypeScript project
19+
run: npm run docs
20+
- name: Ensure there are no changes in docs
21+
run: git diff --exit-code docs/

0 commit comments

Comments
 (0)