mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 17:44:43 +03:00
29 lines
625 B
YAML
29 lines
625 B
YAML
name: Tracker CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths:
|
|
- 'tracker/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 15
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
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
|