Skip to content

Commit 3e80e36

Browse files
committed
Get rid of dependency on quickwit-builder
1 parent 6b5ad80 commit 3e80e36

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/ui-ci.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@ on:
55
pull_request:
66
paths:
77
- "quickwit/quickwit-ui/**"
8+
- ".github/workflows/ui-ci.yml"
89
push:
910
branches:
1011
- main
1112
- trigger-ci-workflow
1213
paths:
1314
- "quickwit/quickwit-ui/**"
15+
- ".github/workflows/ui-ci.yml"
1416

1517
jobs:
1618
tests:
17-
name: ${{ matrix.task.name }} (${{ matrix.os }})
18-
runs-on: ${{ matrix.os }}
19+
name: ${{ matrix.task.name }}
20+
runs-on: ubuntu-latest
1921
strategy:
2022
fail-fast: false
2123
matrix:
22-
os: [ubuntu-latest]
2324
task:
2425
- name: Cypress run
2526
command: |
@@ -32,7 +33,6 @@ jobs:
3233
command: yarn --cwd quickwit-ui lint
3334
- name: Unit Test
3435
command: yarn --cwd quickwit-ui test
35-
container: public.ecr.aws/l6o9a3f9/quickwit-builder:latest
3636
services:
3737
# PostgreSQL service container
3838
postgres:
@@ -57,17 +57,24 @@ jobs:
5757
QW_TEST_DATABASE_URL: postgres://quickwit-dev:quickwit-dev@postgres:5432/quickwit-metastore-dev
5858
steps:
5959
- uses: actions/checkout@v4
60-
- uses: c-hive/gha-yarn-cache@v2
60+
- uses: actions/setup-node@v3
6161
with:
62-
directory: ./quickwit/quickwit-ui
62+
node-version: 18
63+
cache: "yarn"
64+
cache-dependency-path: quickwit/quickwit-ui/yarn.lock
65+
- name: Install rust
66+
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
67+
- uses: arduino/setup-protoc@v2
68+
with:
69+
version: "21.x"
6370
- name: Install JS dependencies
6471
run: yarn --cwd quickwit-ui install
6572
working-directory: ./quickwit
66-
- name: Setup cache
73+
- name: Setup Rust cache
6774
if: matrix.task.name == 'Cypress run'
6875
uses: Swatinem/rust-cache@v2
6976
with:
70-
key: "v1-${{ matrix.task.name }}"
77+
key: "default"
7178
workspaces: "./quickwit -> target"
7279
- name: ${{ matrix.task.name }}
7380
run: ${{ matrix.task.command }}

0 commit comments

Comments
 (0)