Skip to content

Commit

Permalink
move lint actions to their own job and add more checks
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-block committed Oct 31, 2023
1 parent eee2559 commit 022ade0
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
- name: Run tests
run: npm run test

- name: Run linter
run: npm run lint

- name: Upload test coverage to Codecov
uses: codecov/codecov-action@v3
env:
Expand All @@ -35,3 +32,23 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
- run: docker build .

lint-markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: DavidAnson/markdownlint-cli2-action@v11
with:
globs: '*.md'

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Run linter
run: npm ci

- name: Run linter
run: npm run lint

0 comments on commit 022ade0

Please sign in to comment.