Skip to content

Bump actions/checkout from 3 to 4 (#164) #17

Bump actions/checkout from 3 to 4 (#164)

Bump actions/checkout from 3 to 4 (#164) #17

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