Skip to content

Add basemap control component in mapper frontend + opfs pmtile support (pt1) #666

Add basemap control component in mapper frontend + opfs pmtile support (pt1)

Add basemap control component in mapper frontend + opfs pmtile support (pt1) #666

name: 🧪 PR Tests Frontend
on:
pull_request:
branches:
- main
- staging
- development
# Workflow is triggered only if src/frontend changes
paths:
- src/frontend/**
# Allow manual trigger (workflow_dispatch)
workflow_dispatch:
jobs:
unit-tests:
uses: hotosm/gh-workflows/.github/workflows/[email protected]
with:
working_dir: src/frontend
e2e-tests:
uses: hotosm/gh-workflows/.github/workflows/[email protected]
with:
playwright: true
cache_image: false
compose_file: docker-compose.yml -f contrib/playwright/docker-compose.yml
compose_service: ui-test
cache_extra_imgs: |
"docker.io/postgis/postgis:${{ vars.POSTGIS_TAG }}"
"docker.io/minio/minio:${{ vars.MINIO_TAG }}"
"mcr.microsoft.com/playwright:${{ vars.PLAYWRIGHT_TAG }}"
secrets: inherit