-
Notifications
You must be signed in to change notification settings - Fork 158
41 lines (38 loc) · 1.08 KB
/
component-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
name: Search component test suite
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- "clients/search-component/**"
jobs:
build-test:
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
- name: Use Node LTS ✨
uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
cache: yarn
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Running tests
run: yarn build --filter trieve-search-component
tests:
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
- name: Use Node LTS ✨
uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
cache: yarn
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Running lint
working-directory: ./clients/search-component
run: yarn lint