* Enable integration tests * Install chromium * Enable webServer * Run docker compose * Build docker images * Set working dir * Add Makefile * Fix healthcheck
38 lines
641 B
YAML
38 lines
641 B
YAML
name: Web CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- '.github/**'
|
|
- 'web/**'
|
|
pull_request:
|
|
paths:
|
|
- '.github/**'
|
|
- 'web/**'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '22'
|
|
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version: '1.25'
|
|
|
|
- run: make db-build-docker
|
|
|
|
- run: make web-build-docker
|
|
|
|
- run: docker compose up -d
|
|
|
|
- run: make web-install
|
|
- run: make web-playwright-install
|
|
- run: make web-check
|
|
- run: make web-test |