mirror of
https://github.com/corona-warn-app/cwa-documentation
synced 2024-11-11 11:58:55 +01:00
2f16aa4e4f
* opting for npm-only version * Disabling Tests with too many issues for now * running the right spellcheck * Fixing broken documentation link * Disabling spellchecking until fixed for existing docs
41 lines
832 B
YAML
41 lines
832 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
|
|
|
|
#- name: Detect inconsiderate language
|
|
# if: always()
|
|
# run: |
|
|
# npm run-script detect-inconsiderate-language
|