mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 20:10:05 +08:00
docs: spelling & grammar fixes & GitHub Action (#3490)
This commit is contained in:
24
.github/workflows/docs.yml
vendored
Normal file
24
.github/workflows/docs.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**/*.md'
|
||||
pull_request:
|
||||
paths:
|
||||
- '**/*.md'
|
||||
|
||||
jobs:
|
||||
spelling:
|
||||
name: 'Spelling & Grammar'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo npm install --global spellchecker-cli
|
||||
- name: Spell check
|
||||
run: |
|
||||
spellchecker --quiet --files="**/*.md" --dictionaries="./.spellcheck.dict.txt" --reports="spelling.json" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter
|
||||
Reference in New Issue
Block a user