Skip to content

fix: Apply asciidoc-content class to modal #28

fix: Apply asciidoc-content class to modal

fix: Apply asciidoc-content class to modal #28

Workflow file for this run

name: Run Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
e2e-tests:
name: E2E Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: website/package-lock.json
- name: Install dependencies
working-directory: ./website
run: npm ci
- name: Install Playwright browsers
working-directory: ./website
run: npx playwright install --with-deps chromium
- name: Run E2E tests
working-directory: ./website
run: npm run test:e2e
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: website/playwright-report/
retention-days: 7
lighthouse:
name: Lighthouse CI
runs-on: ubuntu-latest
# Only run on main branch after deployment
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: []
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: website/package-lock.json
- name: Install dependencies
working-directory: ./website
run: npm ci
- name: Run Lighthouse CI
working-directory: ./website
run: npm run test:lighthouse
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
- name: Upload Lighthouse results
if: always()
uses: actions/upload-artifact@v4
with:
name: lighthouse-report
path: website/.lighthouseci/
retention-days: 7