diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bd9429b..22319d8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -170,11 +170,11 @@ jobs: name: Playwright needs: changed_files if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }} + container: + image: git.kjan.de/actions/runner-bun:latest steps: - name: Checkout Code uses: actions/checkout@v4 - - name: Install bun - uses: oven-sh/setup-bun@v2 - uses: actions/cache@v4 working-directory: ./frontend with: @@ -187,7 +187,8 @@ jobs: run: | cd frontend bun install - - run: bunx playwright install --with-deps + - run: apt install -y libnss3 libatk-bridge2.0-0 libxss1 libasound2 libgbm1 libgtk-3-0 libxshmfence-dev libxrandr2 libxcomposite1 libxcursor1 libxdamage1 libxi6 + - run: bunx playwright install working-directory: ./frontend - name: Run Playwright tests working-directory: ./frontend