Add Playwright component testing infrastructure #6125
This file contains hidden or 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: Server CI Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: "20.x" | |
| - name: Set up JDK 1.17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| java-package: jdk | |
| distribution: temurin | |
| cache: 'maven' | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ${{ env.HOME }}/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Build with Maven | |
| run: mvn -B test --file pom.xml |