diff --git a/.gitea/workflows/playwright.yaml b/.gitea/workflows/playwright.yaml index 691d423..247ba72 100644 --- a/.gitea/workflows/playwright.yaml +++ b/.gitea/workflows/playwright.yaml @@ -1,16 +1,10 @@ -name: Playwright Tests -on: [push, pull_request] jobs: test: - runs-on: playwright # Runner musí mít tento label + runs-on: playwright # Tento label v Runneru zajistí obraz mcr.microsoft.com/playwright steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 18 - name: Install dependencies run: npm install - - name: Install Playwright Browsers - run: npx playwright install --with-deps + # npx playwright install už není potřeba, prohlížeče v tom obrazu jsou! - name: Run Playwright tests - run: npx playwright test --project=chromium --project=firefox \ No newline at end of file + run: npx playwright test --project=chromium \ No newline at end of file