-
Notifications
You must be signed in to change notification settings - Fork 134
55 lines (47 loc) · 962 Bytes
/
ui.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
50
51
52
53
54
55
name: UI
on:
push:
branches:
- main
- v3
- pmm-*
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
paths-ignore:
- "admin/**"
- "agent/**"
- "api-tests/**"
- "cli-tests/**"
- "docs/**"
- "documentation/**"
- "managed/**"
- "managed-dev/**"
- "qan-api2/**"
- "vmproxy/**"
- "update/**"
jobs:
ci:
name: CI
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ${{ github.workspace }}/ui
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version-file: ui/.nvmrc
cache: yarn
cache-dependency-path: ui
- name: Run lint
run: |
make lint
- name: Run unit tests
run: |
make test
- name: Build application
run: |
make build