You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
656 B
27 lines
656 B
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 |
|
- name: Run Storybook tests |
|
run: yarn test-storybook:ci |
|
- uses: actions/upload-artifact@v3 |
|
if: always() |
|
with: |
|
name: playwright-report |
|
path: playwright-report/ |
|
retention-days: 30
|
|
|