Skip to content

Add Open Graph and Twitter Card meta tags for better link previews #11

Add Open Graph and Twitter Card meta tags for better link previews

Add Open Graph and Twitter Card meta tags for better link previews #11

Workflow file for this run

name: CI
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
- run: npx vitest run
test-e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ hashFiles('package-lock.json') }}
- name: Install Playwright Chromium
run: npx playwright install --with-deps chromium
- run: npm run build
- run: npx playwright test
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-results
path: test-results/