docs: Add installing project dependencies / uploading test results (#11285)
This commit is contained in:
parent
d36ff8a96c
commit
7bf0e28bc7
|
|
@ -49,10 +49,18 @@ steps:
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- name: Install operating system dependencies
|
- name: Install dependencies
|
||||||
run: npx playwright install-deps
|
run: npm ci
|
||||||
|
- name: Install Playwright
|
||||||
|
run: npx playwright install --with-deps
|
||||||
- name: Run your tests
|
- name: Run your tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
- name: Upload test results
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: playwright-results
|
||||||
|
path: test-results
|
||||||
```
|
```
|
||||||
|
|
||||||
```yml python
|
```yml python
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue