diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-26 15:40:06 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-03-01 14:37:02 +0100 |
commit | a03ed6b6125921ff7f66ac6431782039d604cba4 (patch) | |
tree | 2641acd1bb8eed73e36900aa2cdbb7c6ca427b47 /.github/workflows/markdown-lint.yml | |
parent | 09b2b0c5dba96a586a84ee500a9745830251502d (diff) | |
download | translated-content-a03ed6b6125921ff7f66ac6431782039d604cba4.tar.gz translated-content-a03ed6b6125921ff7f66ac6431782039d604cba4.tar.bz2 translated-content-a03ed6b6125921ff7f66ac6431782039d604cba4.zip |
add CI
Diffstat (limited to '.github/workflows/markdown-lint.yml')
-rw-r--r-- | .github/workflows/markdown-lint.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml new file mode 100644 index 0000000000..7a6fde4818 --- /dev/null +++ b/.github/workflows/markdown-lint.yml @@ -0,0 +1,26 @@ +name: Markdown lint (project files) + +on: + pull_request: + branches: + - main + paths: + - '*.md' + - .github/workflows/markdown-lint.yml + + +jobs: + docs: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Setup Node.js environment + uses: actions/setup-node@v2 + with: + node-version: "12" + + - name: Lint markdown files + run: | + npx markdownlint-cli '*.md' -i LICENSE.md -i CODE_OF_CONDUCT.md |