-
-
Notifications
You must be signed in to change notification settings - Fork 1k
36 lines (29 loc) · 817 Bytes
/
docs-check.yml
File metadata and controls
36 lines (29 loc) · 817 Bytes
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
name: Check documentation
on:
pull_request:
paths:
- packages/docs-gesture-handler/**
workflow_dispatch:
jobs:
check:
if: github.repository == 'software-mansion/react-native-gesture-handler'
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: packages/docs-gesture-handler
concurrency:
group: docs-check-${{ github.ref }}
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
- name: Install node dependencies
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn
- name: Generate docs
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn build