abap2UI5/.github/workflows/playwright.yml
oblomov-dev 1c9efb3561
update (#1449)
* update

* Update playwright.yml
2024-09-24 19:47:19 +02:00

29 lines
757 B
YAML

name: playwright-browser-test
on:
pull_request:
permissions:
contents: read
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Setup
run: git clone https://github.com/abap2UI5/abap2UI5-setup.git && cp -r abap2UI5-setup/* . && npm i
- name: Install dependencies
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# - name: Run Playwright tests
# run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30