Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: Add installing project dependencies / uploading test results (#11285)

Vernon Thommeret7bf0e28bc7ed
diff --git a/docs/src/ci.md b/docs/src/ci.md
index 0c16679e50..b925f11b98 100644
--- a/docs/src/ci.md
+++ b/docs/src/ci.md
@@ -49,10 +49,18 @@ steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- - name: Install operating system dependencies
- run: npx playwright install-deps
+ - name: Install dependencies
+ run: npm ci
+ - name: Install Playwright
+ run: npx playwright install --with-deps
- name: Run your tests
run: npm test
+ - name: Upload test results
+ if: always()
+ uses: actions/upload-artifact@v2
+ with:
+ name: playwright-results
+ path: test-results
```
```yml python