From a44f752611da4034a2b97abca543a07c41439097 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 26 Jun 2025 12:21:22 +0200 Subject: [PATCH] devops: run tests using Docker image --- ...azure-static-web-apps-delightful-forest-0a29f6210.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-delightful-forest-0a29f6210.yml b/.github/workflows/azure-static-web-apps-delightful-forest-0a29f6210.yml index 4bcb67dfec4..9eef560e11a 100644 --- a/.github/workflows/azure-static-web-apps-delightful-forest-0a29f6210.yml +++ b/.github/workflows/azure-static-web-apps-delightful-forest-0a29f6210.yml @@ -46,22 +46,21 @@ jobs: uses: Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_DELIGHTFUL_FOREST_0A29F6210 }} + app_location: "/" action: "close" test: name: Playwright runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.50.1-noble + options: --user 1001 steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 22 - name: Install dependencies run: npm ci - name: Build site run: npm run build - - name: Install Playwright Browsers - run: npx playwright install --with-deps - name: Run Playwright tests run: npx playwright test - uses: actions/upload-artifact@v4