Files
bruno f753b27542
CI / build (push) Failing after 6m2s
Add asset pipeline and professionalize theme
Introduce a Node build system for minified CSS/JS with content hashes,
add PWA support, i18n helpers, accessibility improvements, and more
translatable strings. Move theme configuration from bookmarks to
localStorage, add Playwright tests, and set up CI workflows.
2026-08-09 09:25:03 -04:00

44 lines
977 B
YAML

name: E2E Tests
on:
workflow_dispatch:
schedule:
# Run every Sunday at 03:00 UTC.
- cron: '0 3 * * 0'
jobs:
e2e:
runs-on: ubuntu-latest
defaults:
run:
working-directory: shaarli-pro
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: shaarli-pro/package-lock.json
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Run E2E tests
env:
SHAARLI_URL: ${{ secrets.SHAARLI_URL }}
run: npm run test:e2e
- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: shaarli-pro/playwright-report/
retention-days: 7