chore: Add some tests
Some checks failed
CI / Get Changed Files (pull_request) Successful in 8s
Pull Request Labeler / labeler (pull_request_target) Successful in 9s
Label PRs based on size / Check PR size (pull_request) Successful in 13s
Claude PR Review / claude-code (pull_request) Successful in 29s
CI / oxlint (pull_request) Successful in 23s
CI / eslint (pull_request) Successful in 33s
CI / Docker frontend validation (pull_request) Successful in 30s
CI / prettier (pull_request) Successful in 44s
CI / Docker backend validation (pull_request) Successful in 28s
CI / test-build (pull_request) Successful in 1m16s
CI / Playwright (pull_request) Failing after 48s
CI / Checkstyle Main (pull_request) Successful in 1m23s
CI / Backend Tests (pull_request) Successful in 2m5s
Some checks failed
CI / Get Changed Files (pull_request) Successful in 8s
Pull Request Labeler / labeler (pull_request_target) Successful in 9s
Label PRs based on size / Check PR size (pull_request) Successful in 13s
Claude PR Review / claude-code (pull_request) Successful in 29s
CI / oxlint (pull_request) Successful in 23s
CI / eslint (pull_request) Successful in 33s
CI / Docker frontend validation (pull_request) Successful in 30s
CI / prettier (pull_request) Successful in 44s
CI / Docker backend validation (pull_request) Successful in 28s
CI / test-build (pull_request) Successful in 1m16s
CI / Playwright (pull_request) Failing after 48s
CI / Checkstyle Main (pull_request) Successful in 1m23s
CI / Backend Tests (pull_request) Successful in 2m5s
This commit is contained in:
parent
551f5bcf2e
commit
b3b104329b
6 changed files with 108 additions and 2 deletions
|
@ -165,6 +165,46 @@ jobs:
|
|||
cd frontend
|
||||
bun run lint
|
||||
|
||||
playwright:
|
||||
runs-on: ubuntu-latest
|
||||
name: Playwright
|
||||
needs: changed_files
|
||||
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: "temurin" # See 'Supported distributions' for available options
|
||||
java-version: "23"
|
||||
- name: Install bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
- uses: actions/cache@v4
|
||||
working-directory: ./frontend
|
||||
with:
|
||||
path: |
|
||||
frontend/node_modules/
|
||||
key: ${{ runner.os }}-bun-
|
||||
restore-keys: |
|
||||
${{ runner.os }}-bun-
|
||||
- run: apt update && apt install just -y
|
||||
- run: bun add -g concurrently
|
||||
- uses: taiki-e/cache-cargo-install-action@v2
|
||||
with:
|
||||
tool: watchexec-cli
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd frontend
|
||||
bun install
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
- run: bunx playwright install --with-deps
|
||||
working-directory: ./frontend
|
||||
- name: Run Playwright tests
|
||||
working-directory: ./frontend
|
||||
run: bunx playwright test
|
||||
|
||||
oxlint:
|
||||
runs-on: docker
|
||||
name: oxlint
|
||||
|
|
Reference in a new issue