Skip to content

Playwright Tests against open-vsx.org #318

Playwright Tests against open-vsx.org

Playwright Tests against open-vsx.org #318

Workflow file for this run

name: Playwright Tests against open-vsx.org
on:
workflow_dispatch:
schedule:
- cron: "0 18 * * *" # run every day at 6pm
# push:
# branches: [main, master]
# pull_request:
# branches: [main, master]
jobs:
test:
permissions:
contents: none
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 18.x
- name: Install dependencies
working-directory: ./webui
run: yarn
- name: Install Playwright Browsers
working-directory: ./webui
run: yarn playwright install --with-deps
- name: Run Playwright tests
working-directory: ./webui
run: yarn smoke-tests
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
if: always()
with:
name: playwright-report
path: webui/playwright-report/
retention-days: 30