1
0
mirror of https://github.com/corona-warn-app/cwa-documentation synced 2024-06-04 07:28:03 +02:00
cwa-documentation/.github/workflows/checks.yml
2020-07-05 15:47:12 +02:00

41 lines
823 B
YAML

name: Checks
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Install requirements
run: |
sudo apt install -y automake npm nodejs
- name: Checkout code
uses: actions/checkout@v2
- name: Install npm dependencies
if: always()
run: |
npm install
- name: Linting markdown
if: always()
run: |
npm run-script markdownlint
- name: Checking for broken links
if: always()
run: |
npm run-script checklinks
- name: Spellchecking english
if: always()
run: |
npm run-script spellcheck-en
- name: Detect inconsiderate language
if: always()
run: |
npm run-script detect-inconsiderate-language