Files
hedgedoc-hedgeagent/.github/workflows/lint.yml
renovate[bot] 4891d4b178 chore(deps): update actions/checkout action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 00:11:31 +01:00

33 lines
697 B
YAML

name: Lint
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
runs-on: ubuntu-latest
name: Lint files
steps:
- name: Checkout repository
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Setup node
uses: ./.github/actions/setup-node
with:
NODEJS_VERSION: '22'
- name: Run ESLint
run: yarn run eslint
- name: Lint markdown files
run: yarn run markdownlint
- name: Lint shell scripts with shellcheck
run: shellcheck bin/heroku bin/setup
- name: Lint JSON files
run: sudo apt install -y jq && yarn run jsonlint