Skip to content

Upgrade web-ext Github action to avoid deprecation #404

Upgrade web-ext Github action to avoid deprecation

Upgrade web-ext Github action to avoid deprecation #404

Workflow file for this run

name: Run tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Running lint and type check
run: npm run lint && npm run check-types
- name: Build project and create dist files
run: "./dist.sh"
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: xvfb-run npm run test-extension