2020-09-07 14:24:34 +03:00
|
|
|
name: Docs CI
|
2020-05-18 18:56:15 +03:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-09-07 14:24:34 +03:00
|
|
|
branches: [main, "release/*"]
|
|
|
|
pull_request:
|
|
|
|
branches: ["*"]
|
|
|
|
|
|
|
|
env:
|
2020-10-02 13:25:48 +03:00
|
|
|
nodeVersion: 12.18.4
|
2020-06-15 16:25:55 +03:00
|
|
|
|
2020-05-18 18:56:15 +03:00
|
|
|
jobs:
|
2020-09-07 14:24:34 +03:00
|
|
|
check:
|
|
|
|
name: Docs Check
|
2020-05-18 18:56:15 +03:00
|
|
|
runs-on: ubuntu-latest
|
2020-09-07 14:24:34 +03:00
|
|
|
timeout-minutes: 10
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
2020-05-18 18:56:15 +03:00
|
|
|
steps:
|
2020-09-07 14:24:34 +03:00
|
|
|
- name: Checkout Library Sources
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Node
|
|
|
|
uses: actions/setup-node@v1
|
2020-07-21 15:59:40 +03:00
|
|
|
with:
|
2020-09-07 14:24:34 +03:00
|
|
|
node-version: ${{ env.nodeVersion }}
|
|
|
|
- name: Install Prettier
|
|
|
|
run: npm install
|
|
|
|
- name: Check Docs
|
|
|
|
run: npx prettier --check .
|