Show error messages for Koji builds and Bodhi updates #10
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: | |
push: | |
branches: | |
- main | |
- stable | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run-vitest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
cache-dependency-path: pnpm-lock.yaml | |
- name: Install and Build | |
run: | | |
(cd frontend && pnpm install); | |
make .install-logos | |
API_URL="https://prod.packit.dev/api" make transpile-prod | |
- name: Run Vitest | |
run: make test-frontend-coverage |