-
-
Notifications
You must be signed in to change notification settings - Fork 239
54 lines (51 loc) · 1.44 KB
/
Copy pathlint.yaml
File metadata and controls
54 lines (51 loc) · 1.44 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Lint
on:
push:
branches:
- 'main' # Default branch
- 'feature-**' # Feature branches
pull_request:
branches:
- 'main' # Default branch
- 'feature-**' # Feature branches
permissions: {}
jobs:
lint-js:
name: Lint JavaScript
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # tag=v6.0.3
with:
persist-credentials: false
- name: Set up NodeJs
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # tag=v6.4.0
with:
node-version: '22'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Lint Prettier
run: npm run prettier
continue-on-error: false
- name: Lint ESLint
run: npm run eslint
continue-on-error: true
lint-i18n:
name: Lint i18n
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # tag=v6.0.3
with:
persist-credentials: false
- name: Set up NodeJs
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # tag=v6.4.0
with:
node-version: '22'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Check for Translations
run: npm run vue-i18n-extract
continue-on-error: false