1 changed files with 0 additions and 31 deletions
@ -1,31 +0,0 @@ |
|||||||
name: Playwright Tests |
|
||||||
on: |
|
||||||
push: |
|
||||||
branches: [ main, master ] |
|
||||||
pull_request: |
|
||||||
branches: [ main, master ] |
|
||||||
jobs: |
|
||||||
test: |
|
||||||
timeout-minutes: 60 |
|
||||||
runs-on: ubuntu-latest |
|
||||||
steps: |
|
||||||
- uses: actions/checkout@v3 |
|
||||||
- uses: actions/setup-node@v3 |
|
||||||
with: |
|
||||||
node-version: 18 |
|
||||||
- name: Install dependencies |
|
||||||
run: yarn |
|
||||||
- name: Install Playwright Browsers |
|
||||||
run: yarn playwright install --with-deps |
|
||||||
- uses: nick-fields/retry@v2 |
|
||||||
with: |
|
||||||
name: Run Storybook tests |
|
||||||
timeout_minutes: 5 |
|
||||||
max_attempts: 9 |
|
||||||
command: yarn test |
|
||||||
- uses: actions/upload-artifact@v3 |
|
||||||
if: always() |
|
||||||
with: |
|
||||||
name: playwright-report |
|
||||||
path: playwright-report/ |
|
||||||
retention-days: 30 |
|
||||||
Loading…
Reference in new issue