-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (37 loc) · 803 Bytes
/
lint.yml
File metadata and controls
39 lines (37 loc) · 803 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
32
33
34
35
36
37
38
39
name: Lint
on:
pull_request:
branches:
- develop
- dev-[0-9]+.[0-9]+.[0-9]+
push:
branches:
- develop
tags:
- v*
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
- name: Install Dependencies
run: npm ci
- name: Svelte Sync
run: npm run sync
- name: Count Lines of Code
run: npm run cloc
- name: Prettier
run: npm run format:check
- name: ESLint
run: npm run lint
- name: Stylelint
run: npm run lint:css
- name: Svelte Check
run: npm run check