Skip to content

chore: release 2.6.1 #434

chore: release 2.6.1

chore: release 2.6.1 #434

Workflow file for this run

name: Unit & E2E Tests
on:
push:
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm test
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
- name: Build extension
run: npm run deploy
- name: Run E2E tests
env:
PLAYWRIGHT_ARTIFACTS_DIR: ${{ github.workspace }}/.artifacts/playwright
run: npx playwright test
- name: Upload test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-report
path: .artifacts/playwright/playwright-report/
retention-days: 30