forked from pouchdb/pouchdb
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 829 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
name: PouchDB Docs
on:
push:
paths:
- '.github/actions/**'
- '.github/workflows/docs.yml'
- 'package.json'
- 'bin/**'
- 'docs/**'
pull_request:
branches: [master]
paths:
- '.github/actions/**'
- '.github/workflows/docs.yml'
- 'package.json'
- 'bin/**'
- 'docs/**'
jobs:
test-docs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: ./.github/actions/install-node-package
with:
node-version: 22
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- run: sudo gem install bundler -v 2.1.4
- run: npm run install-jekyll
- run: BUILD=1 npm run build-site