Skip to content

Commit 02ca4e3

Browse files
authored
ci: test docs (#8747)
1 parent 1234036 commit 02ca4e3

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/docs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: PouchDB Docs
2+
3+
on:
4+
push:
5+
paths:
6+
- 'package.json'
7+
- 'bin/**'
8+
- 'docs/**'
9+
pull_request:
10+
branches: [master]
11+
paths:
12+
- 'package.json'
13+
- 'bin/**'
14+
- 'docs/**'
15+
16+
jobs:
17+
18+
test-docs:
19+
runs-on: ubuntu-20.04
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v3
23+
- uses: ./.github/actions/install-deps
24+
- uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: 2.7
27+
bundler-cache: true
28+
- run: sudo gem install bundler -v 2.1.4
29+
- run: npm run install-jekyll
30+
- run: BUILD=1 npm run build-site

0 commit comments

Comments
 (0)