image: node:latest services: - postgres:latest variables: POSTGRES_DB: "letu" POSTGRES_USER: "letu" POSTGRES_PASSWORD: "letu" POSTGRES_HOST_AUTH_METHOD: trust NODE_ENV: "test" all_tests: script: - npm install - npm test