mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2026-06-09 23:25:33 +02:00
28 lines
648 B
YAML
28 lines
648 B
YAML
name: "Lint"
|
|
|
|
on:
|
|
push:
|
|
branches: [develop]
|
|
pull_request:
|
|
branches: [main, develop]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- uses: "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" # v6.0.3
|
|
|
|
- name: "Setup Node.js"
|
|
uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0
|
|
with:
|
|
node-version: "lts/*"
|
|
cache: "npm"
|
|
|
|
- name: "Install dependencies"
|
|
run: "npm clean-install"
|
|
|
|
- run: "node --run lint:markdown"
|
|
- run: "node --run lint:typescript"
|
|
- run: "node --run lint:oxlint"
|
|
- run: "node --run lint:oxfmt"
|