Compare commits
1 commit
52f706a75f
...
7a2a60878e
Author | SHA1 | Date | |
---|---|---|---|
7a2a60878e |
1 changed files with 3 additions and 4 deletions
|
@ -170,11 +170,11 @@ jobs:
|
||||||
name: Playwright
|
name: Playwright
|
||||||
needs: changed_files
|
needs: changed_files
|
||||||
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
||||||
container:
|
|
||||||
image: git.kjan.de/actions/runner-bun:latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Install bun
|
||||||
|
uses: oven-sh/setup-bun@v2
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
with:
|
with:
|
||||||
|
@ -187,8 +187,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
bun install
|
bun install
|
||||||
- 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 --with-deps
|
||||||
- run: bunx playwright install
|
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
Reference in a new issue