-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (23 loc) · 554 Bytes
/
lint.yml
File metadata and controls
30 lines (23 loc) · 554 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Lint Markdown Files
# Run this job on all pushes and pull requests
on:
push:
branches:
- "*"
pull_request: {}
jobs:
# Perform the lint
lint:
if: contains(github.event.head_commit.message, '[skip ci]') == false
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint