-
Notifications
You must be signed in to change notification settings - Fork 13
49 lines (43 loc) · 1.44 KB
/
eslint.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
48
49
name: UI Tests
on:
push:
branches: [ master, develop*, release* ]
pull_request:
branches: [ master, develop*, release* ]
workflow_dispatch:
env:
node-version: 18.x
jobs:
ui-lint-main:
name: Linting ui.apps directory ...
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node v${{ env.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.node-version }}
- name: Install NPM Dependencies
run: npm ci
working-directory: ui.apps
- name: Run Linting & Tests
run: npm run lint
working-directory: ui.apps
ui-lint-website:
name: Linting docs/website directory ...
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node v${{ env.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.node-version }}
- name: Install NPM Dependencies
run: npm ci
working-directory: docs/website
- name: Run ES Lint
run: npm run lint:js
working-directory: docs/website
- name: Run Style Lint
run: npm run lint:css
working-directory: docs/website