fix(deps): update dependency class-validator to v0.14.0 [security] #513
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e Tests | |
on: [pull_request] | |
jobs: | |
run-e2e-tests: | |
name: Run e2e Tests | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:13 | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: docker | |
POSTGRES_DB: app | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
zookeeper: | |
image: bitnami/zookeeper:3 | |
ports: | |
- 2181:2181 | |
env: | |
ALLOW_ANONYMOUS_LOGIN: yes | |
options: >- | |
--health-cmd "nc -z localhost 2181 || exit -1" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 10 | |
kafka: | |
image: bitnami/kafka:2 | |
ports: | |
- 9092:9092 | |
env: | |
KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181 | |
KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 | |
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092 | |
ALLOW_PLAINTEXT_LISTENER: yes | |
KAFKA_ADVERTISED_HOST_NAME: localhost | |
options: >- | |
--health-cmd "kafka-topics.sh --bootstrap-server 127.0.0.1:9092 --list" | |
--health-interval 10s | |
--health-timeout 10s | |
--health-retries 50 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install dependencies (with cache) | |
uses: bahmutov/npm-install@v1 | |
- name: Run Tests | |
run: yarn test:e2e | |
env: | |
DATABASE_HOST: localhost | |
DATABASE_PORT: 5432 | |
DATABASE_USER: postgres | |
DATABASE_PASS: docker | |
DATABASE_NAME: app | |
JWT_PUBLIC_KEY: ${{secrets.JWT_DUMMY_PUBLIC}} | |
JWT_SECRET_KEY: ${{secrets.JWT_DUMMY_PRIVATE}} |