abap2UI5/.github/workflows/playwright.yml
oblomov-dev 39d9c1f3be
Test (#1401)
* update playwright test

* update

* Update playwright.yml

* Update playwright.yml

* Update playwright.yml

* Update README.md

* Update README.md

* Update README.md

* Update playwright.yml

* Update playwright.yml

* Update README.md

* Update README.md

* Update README.md

* Update playwright.yml

* Update README.md

* Update README.md

* Update README.md

* Update playwright.yml

* Update playwright.yml

* Update README.md

* Update README.md

* Update README.md
2024-09-10 16:34:14 +02:00

29 lines
821 B
YAML

name: playwright-browser-tests
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/web-abap2UI5-test.git && cp -r web-abap2UI5-test/* . && npm i
- name: Install dependencies
run: npm ci && npm run downport && npm run transpile && node output/index.mjs
- 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