mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-09-05 14:53:43 +00:00
29 lines
694 B
YAML
29 lines
694 B
YAML
name: Frontend mobile
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'frontend/**'
|
|
- '.github/workflows/frontend-mobile.yml'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: frontend
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
|
|
with:
|
|
node-version: 20
|
|
cache: npm
|
|
cache-dependency-path: frontend/package-lock.json
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npx playwright install --with-deps chromium
|
|
- run: npm run test:mobile
|