29 lines
599 B
YAML
29 lines
599 B
YAML
when:
|
|
- event: push
|
|
branch: main
|
|
|
|
depends_on:
|
|
- test
|
|
|
|
services:
|
|
- name: miniauth
|
|
image: git.keks.cloud/kekskurse/miniauth:${CI_COMMIT_SHA}
|
|
ports:
|
|
- 8080
|
|
environment:
|
|
WEB_PUBLIC_REGISTRATION: 1
|
|
USERSTORE_SQLITE_PATH: file:/tmp/miniauth.db
|
|
|
|
steps:
|
|
- name: playwright
|
|
image: mcr.microsoft.com/playwright:v1.50.0
|
|
commands:
|
|
- cd playwright
|
|
- cp playwright.config.js.ci playwright.config.js
|
|
- npm install
|
|
- npx playwright install
|
|
- npx playwright test
|
|
- name: debug
|
|
image: alpine:latest
|
|
commands:
|
|
- ls -lah
|