23 lines
627 B
YAML
23 lines
627 B
YAML
name: Caterium QA
|
|
on:
|
|
push:
|
|
pull_request:
|
|
concurrency:
|
|
group: caterium-qa-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
qa:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
- run: npm ci
|
|
- run: npm audit --audit-level=high
|
|
- run: npm run check:deploy
|
|
- run: php -l public/api/index.php && php -l ops/timeweb/api-proxy.php
|
|
- run: php tests/proxy-http.php app && php tests/proxy-http.php api
|
|
- run: npx playwright install --with-deps chromium webkit
|
|
- run: npm run test:e2e
|