Skip to content

feat: add automatic store publishing (#96) #82

feat: add automatic store publishing (#96)

feat: add automatic store publishing (#96) #82

Workflow file for this run

name: CSS Selectors
on:
pull_request:
branches: [main, dev]
types: [opened, reopened, synchronize, ready_for_review]
paths:
- 'src/**'
- 'tests/**'
- 'playwright.config.ts'
- 'package.json'
- 'pnpm-lock.yaml'
- 'wxt.config.ts'
jobs:
css-selectors:
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
runs-on: ubuntu-latest
timeout-minutes: 15
# Stop needrestart from prompting during `playwright install --with-deps`
# on Ubuntu 24.04, which otherwise hangs the apt step indefinitely.
env:
NEEDRESTART_MODE: a
NEEDRESTART_SUSPEND: 1
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers
run: pnpm playwright install --with-deps chromium
- name: Run Playwright tests
run: pnpm test