mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-20 06:24:06 +01:00
Update playwright.yml
This commit is contained in:
parent
ea928754d3
commit
5d0eb5e4ff
54
.github/workflows/playwright.yml
vendored
54
.github/workflows/playwright.yml
vendored
@ -1,27 +1,27 @@
|
|||||||
name: Playwright Tests
|
# name: Playwright Tests
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches: [ main, master ]
|
# branches: [ main, master ]
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches: [ main, master ]
|
# branches: [ main, master ]
|
||||||
jobs:
|
# jobs:
|
||||||
test:
|
# test:
|
||||||
timeout-minutes: 60
|
# timeout-minutes: 60
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
# - uses: actions/setup-node@v4
|
||||||
with:
|
# with:
|
||||||
node-version: lts/*
|
# node-version: lts/*
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
run: npm ci
|
# run: npm ci
|
||||||
- name: Install Playwright Browsers
|
# - name: Install Playwright Browsers
|
||||||
run: npx playwright install --with-deps
|
# run: npx playwright install --with-deps
|
||||||
- name: Run Playwright tests
|
# - name: Run Playwright tests
|
||||||
run: npx playwright test
|
# run: npx playwright test
|
||||||
- uses: actions/upload-artifact@v4
|
# - uses: actions/upload-artifact@v4
|
||||||
if: ${{ !cancelled() }}
|
# if: ${{ !cancelled() }}
|
||||||
with:
|
# with:
|
||||||
name: playwright-report
|
# name: playwright-report
|
||||||
path: playwright-report/
|
# path: playwright-report/
|
||||||
retention-days: 30
|
# retention-days: 30
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user