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