Compare commits
1 commit
9fe210a5b9
...
ff03649ce7
Author | SHA1 | Date | |
---|---|---|---|
ff03649ce7 |
1 changed files with 27 additions and 0 deletions
|
@ -165,6 +165,33 @@ jobs:
|
||||||
cd frontend
|
cd frontend
|
||||||
bun run lint
|
bun run lint
|
||||||
|
|
||||||
|
playwright:
|
||||||
|
runs-on: docker
|
||||||
|
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
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
working-directory: ./frontend
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
frontend/node_modules/
|
||||||
|
key: ${{ runner.os }}-bun-
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-bun-
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
cd frontend
|
||||||
|
bun install
|
||||||
|
- name: Install Playwright Browsers
|
||||||
|
run: bunx playwright install --with-deps
|
||||||
|
- name: Run Playwright tests
|
||||||
|
run: npx playwright test
|
||||||
|
|
||||||
oxlint:
|
oxlint:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
name: oxlint
|
name: oxlint
|
||||||
|
|
Reference in a new issue