-
-
Notifications
You must be signed in to change notification settings - Fork 74
31 lines (31 loc) · 720 Bytes
/
ci.yml
File metadata and controls
31 lines (31 loc) · 720 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
31
name: eslint.org
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install website dependencies
run: npm ci
- name: Install playground dependencies
run: npm run install:playground
- name: Lint Files
run: npm run lint
- name: Check Formatting
run: npm run fmt:check
- name: Run build
run: npm run build
- name: Validate Internal Links
run: npm run lint:links