Skip to content

future proof linkValidator.js #16

future proof linkValidator.js

future proof linkValidator.js #16

Workflow file for this run

# Validate typescript files, links and markdown
#
# Configuration files:
# - typescript: tsconfig.json
# - links: scripts/linkValidator.js
# - makrdown: .markdownlint.jsonc
name: Lint
concurrency:
group: ${{ github.ref }}-lint
cancel-in-progress: true
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npm run lint:code
links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npm run lint:links
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npm run lint:md