mirror of
https://github.com/plausible/analytics.git
synced 2024-12-26 11:02:52 +03:00
43bf7dd09f
* Use user-agent instead of screen_width to get device type Co-authored-by: eriknakata <erik.nakata5@gmail.com> * Fix credo * Log on unhandled UAInspector device type * Make 'browser' the default tab in devices report * Remove device tooltip * Remove screen_width from ingestion completely * Remove browserstack harness, run playwright directly * Select meta key based on OS platform * Run CI tests in parallel * Improve device match readability * Add changelog --------- Co-authored-by: eriknakata <erik.nakata5@gmail.com>
25 lines
547 B
YAML
25 lines
547 B
YAML
name: Tracker CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths:
|
|
- 'tracker/**'
|
|
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 15
|
|
runs-on: buildjet-4vcpu-ubuntu-2004
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
- name: Install dependencies
|
|
run: npm --prefix ./tracker ci
|
|
- name: Install Playwright Browsers
|
|
working-directory: ./tracker
|
|
run: npx playwright install --with-deps
|
|
- name: Run Playwright tests
|
|
run: npm --prefix ./tracker test
|