diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0d88747..816067a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -30,8 +30,8 @@ jobs: cache: pnpm - name: Install dependencies run: pnpm install - # - name: Install Playwright Browsers - # run: pnpm exec playwright install --with-deps + - name: Install Playwright Browsers + run: pnpm exec playwright install --with-deps - name: Write secret files run: | echo "$ENV_FILE" > .env @@ -45,14 +45,14 @@ jobs: run: sed -i 's/@reference "\.\.\/assets\/style.css";//g' ./dist/_astro/*.css - name: Delete secrets run: rm .env service-account.json - # - name: Run Playwright tests - # run: pnpm run test - # - uses: actions/upload-artifact@v4 - # if: ${{ !cancelled() }} - # with: - # name: playwright-report - # path: playwright-report/ - # retention-days: 7 + - name: Run tests + run: pnpm run test + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-report + path: playwright-report/ + retention-days: 7 - name: Add CNAME run: echo real-o-mat.de > dist/CNAME - name: Setup Pages