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

This commit is contained in:
Vernon Thommeret 2022-01-10 13:30:55 -08:00 committed by GitHub
parent d36ff8a96c
commit 7bf0e28bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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