ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DocumentServer/.github/workflows/check.yml

26 lines
831 B

name: check
on: [push]
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 18
- name: run markdownlint linter
run: |
npm install -g markdownlint-cli
markdownlint CHANGELOG.md ROADMAP.md
spellchecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup aspell
run: sudo apt-get -y update && sudo apt-get -y install aspell aspell-en
- name: run spellchecker
run: |
SPELLCHECK_OUT=$(cat CHANGELOG.md | aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list)
echo $SPELLCHECK_OUT
if [[ $(echo -n $SPELLCHECK_OUT | wc -c) -ne 0 ]]; then exit 1 ; fi