-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (22 loc) · 812 Bytes
/
Copy pathlint.yml
File metadata and controls
28 lines (22 loc) · 812 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
name: Lint
# pull_request covers fork PRs too; merges to master are checked by deploy.yml.
on: pull_request
# Actions pinned to full commit SHAs: tags are mutable and can be moved
# after a compromise. Bump SHA + version comment together.
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22.14.0
cache: yarn
cache-dependency-path: './yarn.lock'
- name: Install dependencies
run: yarn install
- name: Run linters
run: yarn lint:check && yarn prettier:check