feat: přidání testů – Jest unit testy + Playwright E2E + CI pipeline #54
@@ -8,6 +8,12 @@ variables:
|
||||
when:
|
||||
- event: [push, pull_request]
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis/redis-stack-server:7.4.0-v1
|
||||
environment:
|
||||
REDIS_ARGS: "--save '' --loglevel warning"
|
||||
|
||||
steps:
|
||||
- name: Generate TypeScript types
|
||||
image: *node_image
|
||||
@@ -70,7 +76,9 @@ steps:
|
||||
NODE_ENV: test
|
||||
JWT_SECRET: test-secret-min-32-chars-aaaaaaa!
|
||||
MOCK_DATA: "true"
|
||||
STORAGE: json
|
||||
STORAGE: redis
|
||||
REDIS_HOST: redis
|
||||
REDIS_PORT: "6379"
|
||||
HTTP_REMOTE_USER_ENABLED: "true"
|
||||
HTTP_REMOTE_USER_HEADER_NAME: remote-user
|
||||
HTTP_REMOTE_TRUSTED_IPS: "127.0.0.1,::1,::ffff:127.0.0.1"
|
||||
|
||||
Reference in New Issue
Block a user