Skip to content

fix: set working directory for UI tests #73

fix: set working directory for UI tests

fix: set working directory for UI tests #73

Workflow file for this run

name: Continuous Check
on: [push]
jobs:
build:
name: Continuous Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: Build with Gradle
env:
DB_URL: ${{ secrets.DB_URL }}
run: ./code/jvm/gradlew -p code/jvm check --info
test-fe:
defaults:
run:
working-directory: ./code/js/react-intro
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30