mirror of
https://github.com/corona-warn-app/cwa-documentation
synced 2024-11-01 07:08:56 +01:00
36471e2065
* Remove "alex" inconsiderate language scanner * Remove job in workflow * Remove .alexignore & .alexrc.yaml
36 lines
721 B
YAML
36 lines
721 B
YAML
name: Checks
|
|
|
|
on: pull_request
|
|
|
|
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@v3
|
|
|
|
- name: Setup Node.js 18 environment
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 'lts/hydrogen'
|
|
|
|
- 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
|