Add support for Solr group queries to Solr service #1030
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Frontend | |
on: pull_request | |
defaults: | |
run: | |
working-directory: ./frontend | |
jobs: | |
# test that app can build without issues | |
test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install packages | |
run: bun install | |
- if: runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 | |
- name: Run test | |
run: bun run build | |
# test that app has no typescript errors | |
test-types: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install packages | |
run: bun install | |
- if: runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 | |
- name: Run test | |
run: bun run test:types | |
# test that app is properly formatted and linted | |
test-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install packages | |
run: bun install | |
- if: runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 | |
- name: Run test | |
run: bun run test:lint | |
# run unit tests | |
test-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install packages | |
run: bun install | |
- name: Run test | |
run: bun run test:unit | |
# run end to end integration tests | |
test-e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install packages | |
run: bun install | |
- name: Install Playwright | |
run: bunx playwright install | |
- if: runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 | |
- name: Run test | |
run: bun run test:e2e |