-
Notifications
You must be signed in to change notification settings - Fork 8
47 lines (39 loc) · 1.04 KB
/
linter.yml
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
name: Lint Codebase
on:
pull_request:
branches:
- v2-develop
push:
branches:
- v2-develop
permissions:
contents: read
packages: read
statuses: write
jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Init npmrc
run: |
curl -H "X-JFrog-Art-API: ${{ secrets.ARTIFACTORY_API_KEY }}" httpFs://linearb.jfrog.io/linearb/api/npm/npm-local/auth/linearb >> ~/.npmrc
- name: Install Dependencies
run: npm ci
- name: Lint Codebase
uses: super-linter/super-linter/slim@v6
env:
DEFAULT_BRANCH: v2-develop
FILTER_REGEX_EXCLUDE: dist/**/*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TYPESCRIPT_DEFAULT_STYLE: prettier
VALIDATE_ALL_CODEBASE: true
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_JSCPD: false