Skip to content

Make extension ID consistent #29

Make extension ID consistent

Make extension ID consistent #29

Workflow file for this run

name: Run Tests
on:
push:
branches:
- 'main'
- 'manifest-v3'
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run test-unit
browser-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npx @puppeteer/browsers install chrome@stable
- name: Browser tests
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
npm run test-browser