enso/.github/workflows/docs.yml

30 lines
605 B
YAML
Raw Normal View History

2020-09-07 14:24:34 +03:00
name: Docs CI
on:
push:
branches: [develop, "release/*"]
2020-09-07 14:24:34 +03:00
pull_request:
branches: ["*"]
env:
nodeVersion: 12.18.4
jobs:
2020-09-07 14:24:34 +03:00
check:
name: Docs Check
runs-on: ubuntu-latest
2020-09-07 14:24:34 +03:00
timeout-minutes: 10
strategy:
fail-fast: false
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 --version && npx prettier --check .