mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
693 B
YAML
32 lines
693 B
YAML
3 years ago
|
name: Playwright Tests
|
||
|
|
||
|
on:
|
||
|
# Not Ready
|
||
|
# push:
|
||
|
# branches: [ main, master ]
|
||
|
# pull_request:
|
||
|
# branches: [ main, master ]
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
timeout-minutes: 60
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-node@v2
|
||
|
with:
|
||
|
node-version: '14.x'
|
||
|
- name: Install dependencies
|
||
|
run: npm ci
|
||
|
- name: Install Playwright
|
||
|
run: npx playwright install --with-deps
|
||
|
- name: Run Playwright tests
|
||
|
run: npx playwright test
|
||
|
- uses: actions/upload-artifact@v2
|
||
|
if: always()
|
||
|
with:
|
||
|
name: playwright-report
|
||
|
path: playwright-report/
|
||
|
retention-days: 30
|