-
Notifications
You must be signed in to change notification settings - Fork 139
47 lines (44 loc) · 1.37 KB
/
frontend-tests.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: Frontends test suite
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- "frontends/**"
- "clients/ts-sdk/**"
jobs:
build-test:
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Running Build
run: yarn build
eslint:
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Running lint
run: yarn lint:CI
- name: Annotate Search Linting Results
uses: ataylorme/eslint-annotate-action@1.0.4
if: always()
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
report-json: "./frontends/search/eslint_report.json"
- name: Annotate Chat Linting Results
uses: ataylorme/eslint-annotate-action@1.0.4
if: always()
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
report-json: "./frontends/chat/eslint_report.json"
- name: Annotate Dashboard Linting Results
uses: ataylorme/eslint-annotate-action@1.0.4
if: always()
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
report-json: "./frontends/dashboard/eslint_report.json"