-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (37 loc) · 985 Bytes
/
documentation.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
name: ci-actions
on:
push:
branches:
- "feature/*"
pull_request:
jobs:
documentation:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: c-hive/gha-yarn-cache@v2
- uses: actions/cache@v2
with:
path:
ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- uses: actions/cache@v2
with:
path:
example/ios/Pods
key: ${{ runner.os }}-example-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-example-pods-
- run: yarn
- run: yarn documentation
- uses: EndBug/add-and-commit@v7.4.0
with:
add: 'docs'
author_name: Dolby.io
author_email: hello@dolby.io
message: 'Documentation update'